Expected gnuplot error message

Thomas Treichl Thomas.Treichl at gmx.net
Sun Jan 4 03:23:06 CST 2009


David Hincapie schrieb:
> My system is Mac OS 10.4.11.  I have installed Gnuplot.app and 
> Octave.app in my Applications folder.
> I was following the instructions in a tutorial and tried to do the 
> following.
> I've copied everything from my terminal window.
> 
> octave-2.9.17:3> x = linspace(0, 2*pi, 100);
> octave-2.9.17:4> y = sin(x);
> octave-2.9.17:5> plot(x,y);
> Expected X11 driver: /tmp/gnuplot-ppc/libexec/gnuplot/4.2/gnuplot_x11
> Exec failed: No such file or directory
> See 'help x11' for more details
> Expected X11 driver: /tmp/gnuplot-ppc/libexec/gnuplot/4.2/gnuplot_x11
> Exec failed: No such file or directory
> See 'help x11' for more details
> 
> I thought the failure message means I have to have Gnuplot.app- or a 
> symbolic link to it- in the directory given above, that is, 
> /tmp/gnuplot-ppc/.../gnuplot_x11.
> But that directory doesn't exist on my system.
> I have a working X11 system, the version is X11 1.1.3 - XFree86 4.4.0.
> 
> How do I get Octave.app to use the Gnuplot.app I have installed?
> 
> Thanks,
> 
> David

Please open a Terminal.app window and type the following lines:

   bash ~$ echo ${GNUHELP} ${GNUPLOT_PS_DIR} ${GNUPLOT_DRIVER_DIR}
   bash ~$ echo ${GNUTERM} ${DISPLAY}

Then please send the output of this lines.

As a second example you can start up Gnuplot like this:

   bash ~$ GNUTERM=x11 /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot

this opens up X11.app automatically before and then launches Gnuplot, does this 
work?

   Thomas


More information about the Help-octave mailing list