help-octave
[Top][All Lists]
Advanced

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

Re: orient tall with fltk


From: Jose
Subject: Re: orient tall with fltk
Date: Wed, 09 May 2012 01:39:22 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20

On 05/08/2012 04:32 PM, Ben Abbott wrote:

On May 8, 2012, at 9:02 AM, Jose wrote:

On 05/08/2012 02:51 PM, Ben Abbott wrote:
However, if you like the convenience of "orient tall", the tightness of of 
gnuplot's output, and wish to use pdflatex, there is a way to do all of that.

        close all;
        graphics_toolkit gnuplot;
        plot (rand (3))
        set (gca,'activepositionproperty','outerposition')
        orient tall
        print -depsstandalone foo
        system ("epspdf foo-inc.eps");

Then type "pdflatex foo.tex" from the shell prompt, and you should get 
something like the attached foo.pdf. Does that do what you want?

Almost! :)

I could not find the epsstandalone option, but I found instead 
epslatexstandalone. The result is what you showed in your attachment, and the 
look is exactly what I want. But it produces a stand alone latex document, and 
I cannot use it straight with \input in a master document. So I tried instead 
the epslatex option instead, whose output I can include straight in latex. The 
problem now is how to scale the figure from the latex master document. Using 
\resizebox also resizes the fonts, so that is not an option.

Any further ideas? (Almost there, thanks!)

Jose

I think latex's \resizebox{} command scales the fontsize. I suggest you set the 
size in Octave using the axes paperosition property of the print commands 
-SXsize,Ysize option and then avoid latex's \resizebox{} command.

Yes, I finally did this and got what I wanted. Thanks a lot for your assistance.

BR
Jose


reply via email to

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