help-octave
[Top][All Lists]
Advanced

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

Re: MAC and GNU Plot - Help Please


From: Ben Abbott
Subject: Re: MAC and GNU Plot - Help Please
Date: Sun, 25 Sep 2011 11:38:28 -0400

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").

Ben



reply via email to

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