[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plot Failure
From: |
Ben Abbott |
Subject: |
Re: Plot Failure |
Date: |
Thu, 26 Jan 2012 18:31:32 -0500 |
On Jan 26, 2012, at 6:25 PM, Thomas D. Dean wrote:
> I have gnuplot Version 4.4 patchlevel 3, installed with apt-get
> and octave version 3.4.3, built local, without error.
> on ubuntu 11.10
>
> # cat .gnuplot
> set terminal 'xterm'
>
> # cat .octaverc
> putenv("GDFONTPATH","/usr/share/fonts/truetype/ttf-dejavu");
> putenv("GNUPLOT_DEFAULT_GDFONT","DejaVuSans.ttf");
> PRINTER='PhotoSmart_C4100';
> orient("landscape");
>
> The font directory and the font exist.
> # ls /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
> /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
>
> # octave
> GNU Octave, version 3.4.3
> ...
> octave:1> t=[0:.1:2*pi];
> octave:2> plot(t,sin(t)
>
> Nothing. - no plot window
>
> octave:3> x=plot(t,sin(t))
> x = -15.880
>
> ps ax shows
> 12198 2857 S+ 00:00:00 /usr/local/bin/octave
> 12199 12198 S+ 00:00:00 gnuplot
>
> so it looks like octave started gnuplot, but, ???
>
> Any ideas on how to fix this?
>
> Tom Dean
Just a guess ... Di you have the environment variable GNUTERM set to something
other than x11 or wxt ?
Ben
- Plot Failure, Thomas D. Dean, 2012/01/26
- Re: Plot Failure,
Ben Abbott <=
Re: Plot Failure, Dmitri A. Sergatskov, 2012/01/26
Re: Plot Failure, Thomas D. Dean, 2012/01/26