[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ylabel kills plot?
From: |
Ben Abbott |
Subject: |
Re: ylabel kills plot? |
Date: |
Thu, 23 Jul 2009 07:15:50 -0400 |
On Jul 23, 2009, at 3:28 AM, Matthias Brennwald wrote:
Dear All
Consider the following code:
-------
plot (rand(1,10));
xlabel ('x-label','fontsize',22);
ylabel ('y-label','fontsize',22);
-------
For some reason, this does not produce the expected plot. I just get
an empty plot window. If I omit the 'fontsize',22 part, everything
works as expected. What am I doing wrong?
(This is on Mac OS X with Octave 3.2.0 and gnuplot 4.2 patchlevel 5,
both from MacPorts.)
Matthias
I get a plot window with the line and the ticklabels, but no x/y labels.
When I change the fontname to "Times", everything works
plot (rand(1,10));
xlabel ('x-label','fontsize',22,'fontname','Times');
ylabel ('y-label','fontsize',22,'fontname','Times');
I assume the default x11 font does not support 22pt.
Ben
p.s. I'm also running Mac OSX 10.5.7 with xquartz 2.3.3 and Gnuplot
4.2.5.