Discussion:
Plot Failure
(too old to reply)
Thomas D. Dean
2012-01-26 21:57:24 UTC
Permalink
I have gnuplot Version 4.4 patchlevel 3
and octave version 3.4.3
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?

tomdean
PiLS
2012-02-24 03:08:14 UTC
Permalink
Post by Thomas D. Dean
I have gnuplot Version 4.4 patchlevel 3
and octave version 3.4.3
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
Try and close the parens...
--
PiLS
Thomas D. Dean
2012-03-02 07:59:45 UTC
Permalink
Post by PiLS
octave:2> plot(t,sin(t)
Nothing. - no plot window
Try and close the parens...
Sorry, that was a typo...
I rebuilt octave and gnuplot and things seem Ok, now. I think I had a
problem with the pipe?

Thanks

Tom Dean

Loading...