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 20:26:21 +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 18:09, schrieb Ben Abbott:
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

Yes, it does.
And as I told you, the tick labels and labels of the axes are overlapping, when enlarging the fontsize. You do not need to spend that much time on it. It's just one last plot for my diploma thesis. And I didn't find a way to solve this problem on my own.

So, if you could explain to me, how to export the debug.gp file and modify it in gnuplot to me, that would be great.
The psfrag thing already works fine with all my other plots.

I tried to modify the exported file, but if I'm honest, I couldn't even open it in gnu plot.

So thanks for your help once again.

Tobias




reply via email to

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