|
From: | John B. Thoo |
Subject: | Re: -dpng gives "invalid command" |
Date: | Fri, 10 Jul 2009 12:21:36 -0700 |
On Jul 10, 2009, at 11:55 AM, Thomas Treichl wrote:
Yes, I compiled gnuplot myself. (I guess that was a mistake.) Would the easiest thing for me to do now be to install gnuplot from your octave-3.2.0-ppc.dmg? If I drag-and-drop gnuplot from the .dmg into my Applications folder, would I then have to do anything in particular to use it instead of my previous installation?Thanks again. ---John.Hi John,why a mistake? From my point of view it is good if you try to compile things for yourself. You just need to set up some more libraries before compiling Gnuplot.Suggestion: If you already use Fink or MacPorts then this might be a better solution to install Gnuplot that way.
I didn't use Fink or MacPorts for this. (I do use Fink for other things, like xfig). I d/l'd the gnuplot source from <http:// gnuplot.sourceforge.net/> and compiled it. If I wanted to, how would I have to re-d/l the source and compile it again, but against more libraries? How would I select more libraries?
If you have none of those or prefer Gnuplot.app beside others you can also use Gnuplot.app, yes. There nearly is nothing more to do: Drag'n'Drop Gnuplot.app from the *dmg to your Applications folder and then set another link to use Gnuplot.app from command line, too (maybe you should remove or rename or uninstall /usr/local/bin/ gnuplot* before):sudo ln -s /Applications/Gnuplot.app/Contents/Resources/bin/ gnuplot /usr/local/bin/gnuplotFinally just type 'gnuplot' in Terminal.app and check once again 'show version long'. Start your Octave and checkoctave-3.2.0:1> system ('which gnuplot')
Neat. Thanks.Btw, my apologies to y'all on the list for all this, which, I guess, is not strictly Octave stuff. Thanks for your indulgence.
---John.
[Prev in Thread] | Current Thread | [Next in Thread] |