help-octave
[Top][All Lists]
Advanced

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

Re: octave gnuplot interaction for the purpose of using a different font


From: John W. Eaton
Subject: Re: octave gnuplot interaction for the purpose of using a different font
Date: Wed, 6 May 2009 23:02:49 -0400

On  6-May-2009, Matt Funk wrote:

| But is there any way to set GNUPLOT_DEFAULT_GDFONT from within the script?
| Straight from my script is the following:
| system('export 
| 
GNUPLOT_DEFAULT_GDFONT=/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf');
| Why does that not work. Does the octave script open up its own shell?

Yes, so when the shell that is run by the system function exits, your
variable disappears.  And I don't think would be exported in Octave's
environment anyway.  Try

  putenv ("GNUPLOT_DEFAULT_GDFONT", "/usr/...");

instead.

jwe


reply via email to

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