[Top][All Lists]

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

Re: Enlarge tickmarks font size?

From: Bob Odom
Subject: Re: Enlarge tickmarks font size?
Date: Thu, 13 Jan 2011 17:22:31 -0800 (PST)
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

Can you use pdflatex instead? Have octave generate pdf files, and include 
those. I
am not exactly sure how pdflatex works, but I don't think it goes through
dvips as an intermediate process.


On Fri, 14 Jan 2011, Alasdair McAndrew wrote:

I've discovered that the files are fine - the use of 'fontsize' does indeed 
the tickmark fonts, both on screen and in the generated .eps file.  The problem 
to be in the dvips command, which I'm using to convert a LaTeX-generated dvi 
file to
PostScript.  For some reason it's not picking up the enlarged fonts, and so when
included in a LaTeX document, the final PostScript file includes a figure with 
fonts.  There are ways of forcing dvips to download all fonts, but it's so long 
I've needed anything other than the default settings that I've forgotten how to 
do it!

By the way, I'm using Octave 3.2.2.


On Fri, Jan 14, 2011 at 6:35 AM, bpabbott <address@hidden> wrote:
      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


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


      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

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

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.



reply via email to

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