help-octave
[Top][All Lists]
Advanced

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

Re: Enlarge tickmarks font size?


From: bpabbott
Subject: Re: Enlarge tickmarks font size?
Date: Thu, 13 Jan 2011 19:35:42 +0000 (GMT)

On Jan 13, 2011, at 09:04 AM, Alasdair McAndrew <address@hidden> wrote:

On Thu, Jan 13, 2011 at 11:34 PM, Ben Abbott <address@hidden> wrote:

On Jan 13, 2011, at 4:45 AM, Alasdair McAndrew wrote:

> I'm preparing some plots for student notes, but when I print them the ticklabels are too small.  But I can't seem to find how to change their size!
>
> Any help would be most gratefully received.
>
> Thanks,
> Alasdair

Try ..

       set (gca, "fontsize", 14)

If that doesn't work, let us know what version of Octave you are running.

Ben

Thank you very much - that works fine on screen.  But when I print to a file, with

print('-deps','plotfile.eps')

the tick labels are as small as ever.  Why does the print command not pick up the fontsize, and how can I print to a file using larger fonts?

Changing the axes fontsize should change the fontsize of the eps file. However, gnuplot renders the fontsize for eps output at one-half the size requested.

Please try to print using different fontsizes and let us know if fontsize changes.

plot (1:10)
set (gca, "fontsize", 12)
print -depsc fontsize12.eps
set (gca, "fontsize", 36)
print -depsc fontsize36.eps

This should produce eps output with fontsizes 6 and 18.

Also please tell us which version of Octave your are running.

Ben


reply via email to

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