help-octave
[Top][All Lists]
Advanced

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

Re: font size and plot size


From: Ben Abbott
Subject: Re: font size and plot size
Date: Sat, 29 Jan 2011 18:37:12 -0500

On Jan 29, 2011, at 6:12 PM, Ben Abbott wrote:

> On Jan 28, 2011, at 8:15 AM, Ben Abbott wrote:
> 
>> On Jan 27, 2011, at 3:21 AM, Evan wrote:
>> 
>>> I used to use the "-depslatexstandalone" option of print() when I save
>>> plots in order to use general mathmatical formulae in labels, legends,
>>> titles etc. I was happy with that untill recently I found that the
>>> font size of the plots became very small (I cannot remember this
>>> happened since which version of octave). Then I compared the plots
>>> with those generated with an earlier version of octave, I found that
>>> the font size is in fact unchanged but the plot size has been
>>> enlarged, such that when the plots are inserted into an article using
>>> some fixed width (say, \textwidth, or 0.45\textwidth for an article of
>>> two-column format) the font size in the plots appears smaller than
>>> before. Since setting the font size in octave does not affect that of
>>> the plot generated with "-depslatexstandalone" option of print(), the
>>> only way I can think of to increase the font size that the plot
>>> appears when inserted into an article is to decrease the plot size
>>> with "-SXSIZE,YSIZE" option of plot(). Is there any other easy way to
>>> do this?
>> 
>> You're thought of trying "-SXSIZE,YSIZE" should work correctly for the 
>> developer's sources (when using gnuplot).
>> 
>> I'll need to submit a patch so that it works with the fltk backend.
>> 
>> Ben
> 
> Almost forgot to report back. The patch has been submitted.
> 
>       http://hg.savannah.gnu.org/hgweb/octave/rev/3fc07861449b
> 
> With this in place the "-depslatexstandalone" output works when using FLTK 
> (developers sources).
> 
> With the developer's sources the "-SXSIZE,YSIZE" option now works across all 
> output formats.
> 
> I still plan to look into how the fontsize property effects the results for 
> the developers sources. I'll do that after a fresh build.
> 
> Ben

I can confirm that when using the FLTK backend the text objects do respect 
their fontsize property for "-depslatexstandalone" output. However, the gnuplot 
version does not.

Ben



reply via email to

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