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: Matt Funk
Subject: Re: octave gnuplot interaction for the purpose of using a different font
Date: Thu, 7 May 2009 09:26:58 -0600
User-agent: KMail/1.9.9

Thanks,

it works. I had tried putenv before but i don't know i did wrong ... grrrr 
(lots of wasted time). I must have mispelled GNUPLOT_DEFAULT_GDFONT or 
something.

Anyway, thanks for all the help

Sorry for the bother,
matt


On Wednesday 06 May 2009, John W. Eaton wrote:
> 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]