Talk:Octave for macOS

From Octave
Jump to navigation Jump to search


Please note that Octave is still available through Homebrew. It just has been moved to homebrew/science.

Thanks. I have fixed it accordingly on the actual page. Please note that pretty much no one pays attention to the discussion pages. Next time you should either fix it yourself on the page or comment on the mailing list. --carandraug 21:24, 1 April 2013 (PDT)

Plotting backend[edit]

Hello. The "Homebrew > Simple Installation instructions" section says: The default charting package in Octave is straight qt. However, on the Mac gnuplot often works better.. In which cases is it this way? I actually had plots looking worse and not exporting correctly with gnuplot.

The wiki talk feature is not used widely. Please consult the mailing list "" for questions about macOS and plotting. Siko1056 (talk) 18:18, 19 December 2019 (PST)

Helper for Mac[edit]

I created a little helper to open octave scripts from macs finder in octave GUI editor. I used automater to create an app running a shell script. The shell script looks like this:

 #! /bin/zsh
 # Add path if needed
 path=('/usr/local/bin' $path)
 export PATH
 # create an editor command for each file on command line
 for fi in "$@"
   occmd+=(edit \'$fi\' ";") 
 # Run octave with files as arguments and edit files.
 /usr/local/bin/octave --gui --persist --eval "$occmd"

Save this with automator as "Octave Starter" application. Select one octave ".m" file and open info window and change "open with" to use "Octave Starter".

After this double clicking an octave file will bring up Octave gui with the file opened in editor. Hope that helps, Georg -- 09:56, 20 February 2023 (UTC)