help-octave
[Top][All Lists]
Advanced

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

Re: Expected gnuplot error message


From: Thomas Treichl
Subject: Re: Expected gnuplot error message
Date: Sun, 04 Jan 2009 10:23:06 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

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


reply via email to

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