[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: label problem
From: |
Ben Abbott |
Subject: |
Re: label problem |
Date: |
Thu, 14 Feb 2008 07:41:53 -0500 |
On Feb 14, 2008, at 1:09 AM, gareth wrote:
Ben,
Many thanks for a speedy response to my query. I wonder if you
could be more specific as I couldn't see how the reference should be
applied. I believe I am using the latest binary codes for octave
and gnuplot.
Thanks again,
Gareth.
Gareth,
You'll need to refer to Matlab syntax to set fonts, sizes, colors, etc.
For example
ht = text (x, y, 'some-string');
set (ht, 'color', [0 0 1], 'fontsize', 14, 'fontname', 'Helvetica');
or for an xlabel
xlabel ('some-label', 'color', [0 0 1], 'fontsize', 14, 'fontname',
'Helvetica');
or
xlabel ('some-label');
hx = get (gca, 'xlabel');
set (hx, 'color', [1 0 0], 'fontsize', 14, 'fontname', 'Helvetica');
The Matlab syntax and properties are presently a work in progress.
Some properties may not yet be in place.
To see which ones are
prop = get (hx)
Ben
- label problem, gareth, 2008/02/13
- Re: label problem,
Ben Abbott <=