Talk:Octave for macOS

Add topic
Revision as of 09:56, 20 February 2023 by 78.34.194.225 (talk) (→‎Helper for Mac: new section)

homebrew/science

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

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 "help@octave.org" for questions about macOS and plotting. Siko1056 (talk) 18:18, 19 December 2019 (PST)

Helper for Mac

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 "$@"
 do
   occmd+=(edit \'$fi\' ";") 
 done
 # 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 -- 78.34.194.225 09:56, 20 February 2023 (UTC)

Return to "Octave for macOS" page.