[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why does print -F:30 does nothing?
From: |
Matthias Brennwald |
Subject: |
Re: Why does print -F:30 does nothing? |
Date: |
Tue, 6 Jul 2010 20:22:44 +0200 |
On 6. Jul 2010, at 17:59, address@hidden wrote:
> Hi!
>
> I wonder why the command
>
> print "test.eps" -F:30
>
> produces a file where all fonts still are of size 12? Change of the
> number in -F:<fontsize> does not influence the font size, only the
> distance between lines.
The "print" command takes the font sizes from the object properties where
possible. So, for instance, if the font size of the x-axis label is 12, then
that will be used for the saved figure. Maybe this illustrates how things work:
--------
figure (1)
plot (rand(10,1));
set (gca,"fontsize",18); % set base font size for the axes
xlabel ("hello","fontsize",24) % make x-axis label with font size 24
ylabel ("world","fontsize",9) % make y-axis label with font size 9
print ("hello_world.eps","-depsc")
--------
Matthias
----
Matthias Brennwald, Käferholzstrasse 173, CH-8046 Zürich, +41 44 364 17 03