help-octave
[Top][All Lists]
Advanced

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

Re: Help with plot on Macbook


From: Julius Smith
Subject: Re: Help with plot on Macbook
Date: Sat, 03 Jan 2009 14:14:20 -0800

I recently got into this state (plot not working) after saying "port upgrade installed".  I never figured out exactly how I was losing, but here is how I recovered:

As root:
* port uninstall octave
* Download and install octave.app.dmg from the sourceforge Octave download page
  (
http://sourceforge.net/project/showfiles.php?group_id=2888&package_id=237839 )
* Download and install packages Miscellaneous, Optim, Signal, Audio, etc., from
http://octave.sourceforge.net/
* ln -s /Applications/octave.app/Contents/Resources/bin/octave /usr/bin/octave
* ln -s /Applications/GnuPlot.app/Contents/Resources/bin/gnuplot /usr/bin/gnuplot
* ln -s /Applications/Octave.app/Contents/Resources/bin/mkoctfile /usr/bin/mkoctfile

-- Julius

At 01:43 PM 1/3/2009, Gerard Awanou wrote:

I am running Mac OS 10.4.11. I tried to run octave and gnuplot from the
X11 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 looks
> ok.
>
> 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 Ben
>>
>> I got Octave from http://octave.sourceforge.net/ I believe. I installed
>> gnuplot from the Extras folder.
>> After I typed "getenv('GNUTERM')", I got
>> ans =
>>
>> gnuplot appears to be installed. It opens in a terminal with the message
>> exec '/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 message
>> no gnuplot in /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/texbin
>>
>> I 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 X11
>> installed.
>>
>> Thanks again.
>>
>> Gerard
>>
>> On Fri, 2 Jan 2009, Ben Abbott wrote:
>>
>>>
>>> On Jan 2, 2009, at 10:09 PM, Gerard Awanou wrote:
>>>
>>>> Greetings
>>>>
>>>> I am having trouble with Octave on my Macbook. The command plot([1 2 3])
>>>> runs but nothing happens.
>>>>
>>>> Thanks for your anticiapted reply
>>>>
>>>> Gerard Awanou
>>>
>>> Where/how did you obtain octave?
>>>
>>> Did you install gnuplot?
>>>
>>> If you are not sure, check to see if "gnuplot" is in you Applications
>>> folder.
>>> 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 window
>>> and
>>> 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


Julius O. Smith III <address@hidden>
Prof. of Music and Assoc. Prof. (by courtesy) of Electrical Engineering
CCRMA, Stanford University
http://ccrma.stanford.edu/~jos/


reply via email to

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