gnuplots default font size

Matt Funk mafunk at nmsu.edu
Mon May 11 16:17:50 CDT 2009


Hi,

sorry for the delayed response:
If i execute the following script:
...
#! /usr/local/bin/octave -qf

close all;
clear;

set (0, "defaultaxesfontname", "Helvetica")
set (0, "defaultaxesfontsize", 12)

newplot();
...

i get the following error messages:
warning: set: invalid property `fontname'
warning: set: invalid property `fontsize'
warning: set: invalid property `fontname'
warning: set: invalid property `fontsize'

If i take out the newplot() fcn i do not get these but my scripts call the 
newplot fcn.

I am running:
/usr/local/bin/octave --version
GNU Octave, version 3.0.5


Am i doing something wrong?

thanks
matt




On Thursday 07 May 2009, you wrote:
> On  7-May-2009, Matt Funk wrote:
> | > set (0, "defaultaxesfontsize", 14)
> | > set (0, "defaulttextfontsize", 14)
> |
> | Is there any way to set this from inside my script?
>
> Yes, those are Octave commands to set plot properties.
>
> jwe




More information about the Help-octave mailing list