"errors" when running plot
Ben Abbott
bpabbott at mac.com
Wed Jun 10 10:54:40 CDT 2009
On Wednesday, June 10, 2009, at 10:07AM, "ws" <webb.sprague at gmail.com> wrote:
>Hi Octavians,
>
>I am using a hand-compiled Gnuplot (4.2.5) and Octave (3.2.0 -- yay!) both with
>"without-x" set from configure, running in my home directory. I can plot (note
>that "grrfoo.png" below is produced just fine), but I get weird messages from
>octave:
>
>octave:1> putenv('GNUTERM', 'png')
>octave:2> gnuplot_binary ('/home/wsprague/gnuplot-4.2.5/bin/gnuplot')
>octave:3> putenv('DISPLAY', '') # this used to silence the X11 warning
>octave:4> plot(1:10)
>warning: X11 DISPLAY environment variable not set
>error: get: unknown property "__pixels_per_inch__"
>error: called from:
>error: /home/wsprague/octave-3.2.0/share/octave/3.2.0/m/plot/gnuplot_drawnow.m
>at line 176, column 14
>error: /home/wsprague/octave-3.2.0/share/octave/3.2.0/m/plot/gnuplot_drawnow.m
>at line 87, column 14
>octave:5> print ~/grrfoo.png
>
>Can someone help me make them go away? Thanks!
I assume you're just wanting to suppress output to a window? If not, can you describe what behavior it is you desire?
If you'd like to suppress displayed output, you can begin our Octave session with
set (0, "defaultfigurevisible", "off")
That will suppress output to a window, but the print command will still work.
Ben
More information about the Help-octave
mailing list