sworldlooki.blogg.se

Gnuplot for mac
Gnuplot for mac








gnuplot for mac
  1. #GNUPLOT FOR MAC FOR MAC OS X#
  2. #GNUPLOT FOR MAC FOR MAC#
  3. #GNUPLOT FOR MAC INSTALL#
  4. #GNUPLOT FOR MAC FULL#

#GNUPLOT FOR MAC INSTALL#

The gnuplot developers could release Macintosh binaries (like they already do for Windows) that install like other Macintosh programs.This would be the simplest and best solution. Apple could include gnuplot in their standard Unix utilities.There are two groups of people who could fix this problem: I just wanted one small graphing program, not two huge ecosystems for developing code!

gnuplot for mac

All that for a tiny program that is only about 2Mbytes. It also took up a huge amount of disk space (1.9Gbytes for Xcode, 769Mbytes in /opt). The total time to do the installation was over 2 hours (mostly due to the massive downloads).

gnuplot for mac

Installed a different version of gd anyway.

#GNUPLOT FOR MAC FOR MAC#

After about an hour of downloads and building, we were finally ready to install gnuplot.ĭue to lack of documentation for Mac installation on the gnuplot site, we downloaded and installed gd-libgd, which probably was not necessary, because sudo port install gnuplot This triggered a huge pile of downloads and installations, as MacPorts built an entire ecosystem duplicating most of the compilation and building capabilities of Xcode (so why does it need Xcode to get started). cshrc file (and /opt/local/man to the MANPATH), since MacPorts puts its programs in a totally separate place form where everything else gets installed.īecause my son wanted to use the latest features of gnuplot (the pdfcairo output option), we started by using sudo port install cairo

#GNUPLOT FOR MAC FULL#

The download is about 100× bigger than is reasonable-is it full of porn videos or what?Īfter the hour-long download of Xcode, MacPorts installed ok, but to run it we had to add /opt/local/bin and /opt/local/sbin to the path in the. What the h*** is in Xcode that it is so bloated? So far as I can see, Xcode contains a low-quality editor (about as powerful as Textedit), some compilers, and a build system that is about as featureful as make. The Xcode download is almost 2 Gbytes and took an hour. So we had to install a new Xcode, which meant setting up an AppStore account. Downloading it went fine, but it wouldn’t install, because the Xcode that came with the Mac was not suitably configured. Probably the easiest way to install gnuplot is using MacPorts, so first we had to install MacPorts. We had to install it for my son to do his latest physics lab writeup, as the old version we had on the household computer was from the old G5 iMac, and could not run under Lion, which no longer supports emulation of the PowerPC processors. I sure wish that it came already installed on Macintosh computers, though, as it is huge pain to install. you could add the following to the /Users/username/.Example of a simple gnuplot graph, click for full-size image. Users/username/bin must be added to the path, so that Gnuplot works form everywhere, e.g. Just run the following command in your terminal ln -s /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot /Users/username/bin/gnuplot You might also want to have gnuplot available in your usual terminal session. Replace both lines do script (“exec ‘$/bin/gnuplot'”).Browse to Contents/Resources and edit “script” with your favorite text editor.Right click on Gnuplot.app and choose “Show Package Contents”.So we need to hack Gnuplot.app so that X11 (which is also more powerful) becomes the default terminal. But unfortunately the default aquaterm terminal doesn’t work for me always (on one Mac it did, on another it didn’t – maybe Aquaterm shouldn’t be installed before). Usually you just open Gnuplot.app and start plotting. Alternatively you could directly download the gnuplot-4.2.5-i386.dmg from here.Open gnuplot-4.2.5-i386.dmg and copy Gnuplot.app to your Applications folder (or anywhere else).Open the downloaded dmg file and browse to the Extras folder.

#GNUPLOT FOR MAC FOR MAC OS X#

Download Octave for Mac OS X from the Octaveforge homepage (latest version at time of writing was 3.2.2).There is some information on the web about running Gnuplot on Mac OS X already (, ) and there is also and but there is IMO an easier way (though it still needs some work): there is a Gnuplot installer provided by Octave! Here are the instructions: It’s actually quite easy to configure and compile Gnuplot (i.e./configure make make install), but some terminals are not built due to missing dependencies and this makes Gnuplot less powerful. There are some possibilities to install Gnuplot on Mac OS X, none of them is “official”, since the Gnuplot project doesn’t provide binaries for Mac OS X. I provide another instructions to install Gnuplot 4.4.0 compiling it yourself on Mac OS X.










Gnuplot for mac