help-octave
[Top][All Lists]
Advanced

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

Re: plotting problem on Mac OSX


From: Chris Daamen
Subject: Re: plotting problem on Mac OSX
Date: Tue, 16 Jul 2013 22:40:19 +0200

Op 16 jul. 2013, om 22:21 heeft Ben Abbott het volgende geschreven:

> On Jul 16, 2013, at 4:12 PM, Chris Daamen wrote:
> 
>> Op 16 jul. 2013, om 21:40 heeft Ben Abbott het volgende geschreven:
>> 
>>> On Jul 16, 2013, at 3:16 PM, Chris Daamen wrote:
>>> 
>>>>> Hi everyone,
>>>>>> I'm using Octave version 3.4.0 running on OSX Mountain lion, and I have
>>>>>> installed X-Code 4.6.1, AquaTerm 1.1.0, X11 2.7.2 and Gnuplot too. But
>>>>>> nothing still happens when I'm trying to plot a graph. Just AquaTerm 
>>>>>> Opens
>>>>>> and nothing else happens. 
>>>>>> please someone help me with this.
>>>>>> thanks.
>>>>> 
>>>>> I assume you installed an application bundle for Octave?  Maybe one 
>>>>> recommended by Coursera?
>>>>> 
>>>>> There are some problems with running the application bundle on Lion and 
>>>>> Mountain Lion.  Some people have been successful, but others have 
>>>>> problems.  The problem may be that your copy of gnuplot was built to use 
>>>>> a different version of Aquaterm than the one you have installed.  To fix 
>>>>> that, just uninstall Aquaterm .. often gnuplot comes bundled with 
>>>>> Aquaterm (buried in the gnuplot application bundle).  If that doesn't fix 
>>>>> the problem for you, you can try using the x11 terminal.  From Octave's 
>>>>> prompt, just try ..
>>>>> 
>>>>>   setenv GNUTERM x11
>>>>>   plot (rand (3))
>>>>> 
>>>>> In general, we recommend you use one of the package managers available 
>>>>> for Mac OSX (Fink, Macports, or Homebrew).
>>>>> 
>>>>>   http://wiki.octave.org/Octave_for_MacOS_X
>>>>> 
>>>>> Please uninstall the version Aquaterm you have before trying to run 
>>>>> Octave installed using any of these package managers.
>>>>> 
>>>>> Ben
>>>> 
>>>> For what its worth, I am on Lion, and used the strategy as I outlined 
>>>> before. I do get nice plots in both the ways I explained.
>>> 
>>> Chris, I was typing my reply when you responded.  The response is exactly 
>>> what is needed for those who wish to install the Octave 3.4.0 bundle on 
>>> Lion or Mountain Lion.
>>> 
>>> If you're inclined to help out further ... it would be nice if someone 
>>> added the information to the wiki.  We'd prefer that users use a package 
>>> manager (which supports the most recent release), but for those who prefer 
>>> an app-bundle, it would be nice to add a subsection to the end of the page 
>>> below (should be added just below the warning).
>>> 
>>>     http://wiki.octave.org/Octave_for_MacOS_X#Installing_a_Mac_OS_X_Bundle
>>> 
>>> Ben
>>> 
>> Ben,
>> 
>> I would certainly like to help further. I myself definitely prefer an app 
>> bundle above a packet manager. I actually looked into what would be 
>> necessary to compile Octave into such a bundle myself, but there seem to be 
>> difficulties that are larger than my limited programming experience can 
>> handle. If there is anything I could do (test, I guess) I'd love to do that. 
>> In the meantime I'll study a bit more on the subject. I know how to compile 
>> applications on OSX when they are written for OSX (and not too complicated), 
>> but not yet how to make UNIX applications into an OSX app bundle. A simple 
>> wrapper that fires up a Terminal is fine, as long as all the required 
>> dependencies are in the bundle and the bundle can be anywhere, and install 
>> is drag and drop from the dmg into the desired location. If you have 
>> knowledge of resources to learn more on this, resources a bit simpler than 
>> this 
>> https://developer.apple.com/library/mac/#documentation/porting/conceptual/portingunix/portability/portability.html
>>  I would love to hear about it, so they can contribute to my learning route.
>> I will look into updating that wikipage.
>> 
>> Chris.
> 
> I just noticed, we have a page for the changes already, but they need to be 
> updated.
> 
>       http://wiki.octave.org/Installing_Mac_OS_X_Bundle
> 
> Regarding an app-bundle, there' s a page for that as well.
> 
>       http://wiki.octave.org/Create_a_MacOS_X_App_Bundle_Using_MacPorts
> 
> Manually creating a bundle is too tedious to be reliable.  However, I think 
> it is possible to automate the process. Unfortunately, I haven't had the 
> spare time work on it, and don't know when I'll get back to it.
> 
> Ben
> 
That first link you gave, is the same link I gave in my first post in this 
thread. I don't quite see how to update that page, apart from maybe not 
mentioning vim if the page is supposed to target people that prefer application 
bundles over package managers. The editing of Gnuplot can easily be done with a 
'normal' (as in: normal to OSX users) text editing application. 
If you appreciate such updating I'd be happy to do that.

Do you have access to Sourceforge where the OSX bundle is now hosted? If so, 
can I send you a file to replace the current OSX bundle, with one that contains 
exactly the same bundle as the current one offered on Sourceforge, but then 
with a Gnuplot with the wrongly hardcoded DYLD references corrected. I know 
version 3.4.0 is out of date, but it works, and to provide a corrected Gnuplot 
(as instructed in the wikipage also you mentioned) would be easy. 

I had read through the second link you provided earlier. Since I did not 
understand all of it, and the resulting bundle is apparantly huge compared to 
the current one, I have parked it. Thanks for reminding me.

Chris


reply via email to

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