[Top][All Lists]

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

Re: MAC and GNU Plot - Help Please

From: Wesley Davis
Subject: Re: MAC and GNU Plot - Help Please
Date: Sun, 25 Sep 2011 14:16:57 -0400


I made the changes in Xcode, and it worked.  I see my graphs from the Octave scripts at the Octave prompt.  Thus,  Stu's procedure along with the final tweak you provided in Xcode gave a working solution.

I did not have to uninstall and re-install once I changed Xcode to open with

NOTE: For anyone reading this thread for help,  please note that I used Macports to install Aquaterm, Gnuplot and Octave.  The problem encountered was that Macports requires the installation of Xcode. Xcode defaults to opening Octave .m files in Xcode (C/C++), which can be changed to open with 

Thanks again guys!


On Sun, Sep 25, 2011 at 11:38 AM, Ben Abbott <address@hidden> wrote:
On Sep 25, 2011, at 9:24 AM, Wesley Davis wrote:

> I spoke too soon.  NowI can plot at the Octave command line.  The new problem is all of my Octave .m scripts that plot my data will not run.  When I click to edit my Octave scripts,  I get the Xcode window and my scripts are not running.  Any way around this?  Macports required that I install Xcode before installing Macports.  Help

When you click on a m-file it will be opened in an editor. At the moment, your Mac is associating m-files with Xcode. You can change that by ...

(1) single-click on an m-file
(2) CMD+I
(3) Select your preferred editor under "Open with:". If you use TextEdit, be sure to use plain test (no rich text).

To run your m-file, you'll need to be sure the script is in Octave's path. Since the path always starts with the present working directory, you can just cd to the location you have your scripts saved. Once that is done, just type the name of the m-file (without the ".m").


reply via email to

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