help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scaling distance between xlabel/ylabel and axes


From: Ben Abbott
Subject: Re: Scaling distance between xlabel/ylabel and axes
Date: Fri, 22 Oct 2010 00:09:20 +0800

On Oct 21, 2010, at 11:58 PM, Tobias Schmid wrote:

> Am 21.10.2010 16:37, schrieb Ben Abbott:
>> On Oct 21, 2010, at 6:08 PM, Katzenman wrote:
>>> Hello,
>>> 
>>> yes, that ist exactly what I'm looking for.
>>> I just need to get a proper scaling for one plot.
>>> 
>>> An fontsize and type is not important, because I'm gonig to replace it,
>>> using \psfrag in LaTex.
>>> So for me it is just important to have a scaling, where there is no
>>> overlapping of x/ylabel and x/yTicks.
>>> 
>>> And if it is possible to get a legende without overlapping labels, this
>>> would be even better.
>>> If that is not possible, I'll do it without using a legende and discribe the
>>> curves in the caption of me figure in LaTeX.
>>> 
>>> Thanks for your help
>>> 
>>> Tobias
>>>     
>> I had considered adding psfrag support to Octave. However, as psfrag is 
>> rather dated and no longer maintained we decided not to add that support.
>> 
>> However, if you are interested in that functionality, I've attached the 
>> function. This function works with the current developers sources. I haven't 
>> tried it with the 3.2.x series, but I expect it will work.
>> 
>> Please let me know if it works well for you. Criticism is welcome.
>> 
>> Ben
> 
> Hello Ben,
> 
> I tried to use your code, but I got the error messages added below.
> 
> psfrag(Abbildung ,"test" ,'fontsize', 18 ,'height','\\psfragheight' , 'wid
> th' , '\\psfragwidth')
> error: mat2cell: dimension can not be empty
> error: called from:
> error: /home/tobias/Diplomarbeit/Octave/psfrag.m at line 342, column 15
> error: /home/tobias/Diplomarbeit/Octave/psfrag.m at line 236, column 17
> 
> Did I forget to hand over the parameter dimension? In the help enty no 
> parameter called dimension in mentioned?
> 
> By the way, would this function solve my problem with the distances between 
> the labels and the entries of the legende , which are not scalable.
> 
> Tobias

I'll take a look at this tomorrow. In the meantime, does you plot have 
ticklabels for each visible axes?

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]