help-octave
[Top][All Lists]
Advanced

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

Re: Empty plot


From: Ben Abbott
Subject: Re: Empty plot
Date: Fri, 17 Dec 2010 08:19:27 -0500

On Dec 16, 2010, at 10:39 PM, John B. Thoo wrote:

> Hi.  I'm sorry if this is a FAQ, but I haven't been able to find an answer.
> 
> I'm using Octave 3.2.3 on Mac OS X 10.6.4 in X11.  When I try to plot, I get 
> an empty plot window and this:
> 
> octave-3.2.3:1> getenv ("GNUTERM")
> ans = x11
> octave-3.2.3:2> x = 0:0.1:pi;
> octave-3.2.3:3> plot (x, sin(x))
> octave-3.2.3:4> 
> gnuplot> set palette file "-" binary record=64 using 1:2:3:4;
>                                                            ^
>         line 0: Gray scale not sorted in gradient.
> 
> 
> octave-3.2.3:4>
> 
> When I start gnuplot on its own, I see that I have Version 4.2 patchlevel 5.
> 
> Any help would be appreciated.  Thanks.
> 
> ---John.
> 
> -----------------------------------------------------------------------
> "There are no atheists in foxholes."
> ---Fr. William T. Cummings, M.M. (WWII, Philippines)
> [_The Grunt Padre_, CMJ Marian Pub., p. 56]

http://atheism.about.com/od/atheismmyths/a/AtheistsFoxhole.htm

John, please tell us where you got your Octave. Was it from MacPorts, Fink, 
Sourceforge, or somewhere else?

Also it is possible to have more than one version of gnuplot. Please check 
which one Octave is using by typing ...

        __gnuplot_version__

Since you're set up to use X11, please make sure the X11.app is running before 
you try to plot. I've had some troubles in X11 on MacOS X, and often have to 
quit X11 and start it again.

Ben


reply via email to

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