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: Tobias Schmid
Subject: Re: Scaling distance between xlabel/ylabel and axes
Date: Thu, 21 Oct 2010 17:58:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

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



reply via email to

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