|
From: | Fumihiro Chiba |
Subject: | Re: Help with plot on Macbook |
Date: | Sun, 04 Jan 2009 07:41:15 +0900 |
Hi, Awanou Is there .bash_profile at your home directory? ".bash_profile" is a file name of initialization file for bash. An example of ".bash_profile" is -------------->8--------------- if [ -f ~/.bashrc ];then . ~/.bashrc fi PATH=$PATH:/usr/local/bin BASH_ENV=~/.bashrc export BASH_ENV PATH export GNUTERM=x11 alias octave="/Applications/Octave.app/Contents/Resources/bin/octave" alias gnuplot="/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot" -------->8----------- I use octave on Terminal.app with this ".bash_profile". If you want to use Octave on X11, please see <http://forums.macosxhints.com/archive/index.php/t-9282.html> ----------------------- Fumihiro CHIBA On 2009/01/04, at 6:43, Gerard Awanou wrote:
I am running Mac OS 10.4.11. I tried to run octave and gnuplot from theX11 terminal but it did not recognize these commands. However I can run Octave directly. Thanks Gerard On Sat, 3 Jan 2009, Ben Abbott wrote:Ok, the install looks ok. The binary package you have will first look in the path for gnuplot and then assume it is in the applications folder. (The 'which gnuplot' checks the path). In any event, your install of gnuplot looksok. I should have asked before, what version of OSX are you running?If your version is 10.4 or less, try starting x11 prior to running octave.Ben On Jan 3, 2009, at 5:23 AM, Gerard Awanou wrote:Thank you for your quick reply BenI got Octave from http://octave.sourceforge.net/ I believe. I installedgnuplot from the Extras folder. After I typed "getenv('GNUTERM')", I got ans =gnuplot appears to be installed. It opens in a terminal with the messageexec '/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot' followed by information about the version and finally the message Terminal type set to 'aqua' However when I type on a terminal which gnuplot I get the messageno gnuplot in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/ texbinI must say that a few months ago, I unsuccessfully tried to fix an installation of Octave by playing around with the commands sudo,Aquaterm and X11 following suggestions on the internet. I now have X11installed. Thanks again. Gerard On Fri, 2 Jan 2009, Ben Abbott wrote:On Jan 2, 2009, at 10:09 PM, Gerard Awanou wrote:GreetingsI am having trouble with Octave on my Macbook. The command plot([1 2 3])runs but nothing happens. Thanks for your anticiapted reply Gerard AwanouWhere/how did you obtain octave? Did you install gnuplot?If you are not sure, check to see if "gnuplot" is in you Applicationsfolder.Open a Terminal window (Terminal is in Applications/Utilities) and type "which gnuplot". If you get nothing, and you have the octave.dmg open it.You'll find gnuplot.dmg in the Extra's folder.If gnuplot is on you system, type "getenv('GNUTERM')" in octave's windowand let us know what happens. Ben_______________________________________________ Help-octave mailing list address@hidden https://www-old.cae.wisc.edu/mailman/listinfo/help-octave_______________________________________________ Help-octave mailing list address@hidden https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |