Did you download Octave 3.0.3?
http://sourceforge.net/project/showfiles.php?group_id=2888&package_id=237839
For this version of Octave you'll need gnuplot 4.2.3 or greater.
You likely have more than one gnuplot on your mac. When you
downloaded the octave.app.dmp from sourceforge it contained an
"Extras" folder which contains "gnuplot-4.2.3-i386/ppc.dmg". If you
installed this there should be a gnuplot.app in your Applications
folder.
Do you have a gnuplot in our Applications folder? and if so what
is its version number?
My understanding is that when the octave bundle you have is run it
will look to see if a gnuplot exists in the path and then look for
the gnuplot bundle in your Applications folder.
To determine if there is another gnuplot in your path, open a
terminal window and type "which gnuplot". What I get is below,
$ which gnuplot
/sw/bin/gnuplot
To determine the version of this gnuplot, type
$ gnuplot --version
gnuplot 4.3 patchlevel 0
Does "which gnuplot" return anything? ... if so, what version?
I'm running the developer's version of gnuplot which I built by
adding a local package to the Fink package management system.
You're results will be different.
I suspect you have more than one gnuplot installed and that one is
version 4.0 and the other 4.2.
Once it is determined where the 4.0 version resides, I recommend
you update or uninstall it.
Ben
On Dec 24, 2008, at 10:34 AM, Dan Mennitt wrote:
great, that's good to hear. I am using X11, although
getenv("GNUTERM") simply returns:
ans =
weird. I installed octave from a .dmg from the GNU octave
repository at sourceforge.net. This gives you a nice aqua-style
icon to click on that starts up the terminal and runs octave. The
problem may be with my gnuplot installation. Weeks ago, I
installed version 4.0. While trying to get the zoom to work, I
used macports to install the latest version of gnuplot. The
installation went smoothly, but now when I run gnuplot from the
terminal it shows 'version 4.0', whereas before i rebooted my
machine it showed 4.2. What went wrong?
DM
Ben Abbott wrote:
On Dec 23, 2008, at 9:18 PM, Ben Abbott wrote:
On Dec 23, 2008, at 8:49 PM, Dan Mennitt <address@hidden> wrote:
hey everyone,
I am using Octave 3.0.2 on mac osx with gnuplot. I would really
like to
be able to zoom in and rotate 3d plots using the mouse with
octave.
After searching a bit, I have seen much chatter on this issue
and the
answer seems to be that its just not possible with the current
version
of gnuplot. Is anyone using an alternative plotting utility that
allows
this functionality?
thanks
DM
What version of gnuplot are you running?
By chance are you using Aquaterm?
If yes, try the x11 terminal instead.
Ben
I've got a better internet connection than my cell phone now. If
my response is confusing, you can determine the terminal you're
running by typing 'getenv("GNUTERM")' at octave's prompt.
If the response is "aqua" then you are running aquaterm. Aquaterm
produces nicely rendered plots, but does not permit the mouse to
zoom/rotate the plot.
I do not recall when the rotation was first supported by gnuplot,
but I'm sure it does work for the x11 terminal for gnuplot
version > 4.2.3.
If you are running octave with aquaterm, it is possible to switch
to the x11 terminal. The method to accomplish that will depend
upon how you are running octave. Where did you obtain you copy of
octave from ... and how do you launch it?
Ben