![]() I downloaded the source files for gnuplot 5.0.1 (gnuplot-5.0.1.tar.gz) from the source forge page. I also installed the Command Line Tools on my OS X 10.7.5 so that I have gcc and make in the /usr/bin folder. I followed the installation instructions found in INSTALL.gnu file of the tarball: I ran the configure file and typed make, make check, make install, and make clean. With these commands, gnuplot is located in /usr/local/bin/. Manually launch AquaTerm (it is in Applications). The make check command outputs a lot of lines in the shell before testing many gnuplot scripts. Originally released in 1986, its listed authors are Thomas Williams, Colin Kelley, Russell Lang, Dave Kotz, John Campbell, Gershon Elber, Alexander Woo and. launch GNUPlot in Terminal and type some plotting command (e.g. You have to install two seperate things for gnuplot to work on your Mac. ![]() I could actually visualize the plots and I thought "great, it works". So I opened a new terminal shell and typed gnuplot to begin using it (the terminal is automatically set to qt). > Hi Michel, > That means that the gnuplot default terminal in your Mac is. Gnuplot returns these messages : Could not start gnuplot_qt with path "/usr/local/libexec/gnuplot/5.0/gnuplot_qt"Ĭould not start gnuplot_qt with path "/usr/local/libexec/gnuplot/5.0/gnuplot_qt"Ĭould not connect to gnuplot_qt "". not in aquaterm) and i can rotate 3D plots with the > mouse. The warning message keeps appearing infinitely if I don't close the terminal. Here is what I did to do so on both Yosemite and El Capitan MacOS: The best way to use gnuplot on MacOS is to set it to work with aquaterm as opposed to X11. First remove all pre installation of gnuplot and aquaterm, if any.However, these steps have been tested to work with these exact version numbers.Now install aqua term using brew command.If you installed Aquaterm using brew then use brew uninstall aquaterm.īottomline: You shouldn't have any installation of gnuplot or aquaterm on your system.Manually delete Aquaterm if you installed it via dmg file previously from your application. If there are newer versions, update the version numbers accordingly. Not sure if this is necessary, but I suspect you'll need to have Aquaterm installed prior to the very last step ( step #8 ). I had Aquaterm installed before I proceeded with the following steps. ![]() However this command worked fine for me (without renaming) - I had to do the renaming trick for "sudo port install gcc44", though.Īdvanced Install ( with font & PNG support) by compiling from source (not for beginners) This can be fixed by temporarily renaming /usr/local to some other folder name. One warning with using Mac Ports is that for some packages, something in /usr/local might conflict, hence it doesn't work. Quick Install ( with font & PNG support) using Mac Ports Quick Install ( without font & PNG support) Install either g++ or XCode (which comes with gcc/g++) prior to the following steps. With this, plots are generated with x11 which is already in the terminal list of gnuplot ( set terminal ). Instead of installing and integrating aquaterm into gnuplot, in octave typed: setenv GNUTERM x11. It works with X11 or AquaTerm, and in fact requires the latter to be installed. The problem was that Octave was 'forcing' gnuplot to use aquaterm to plot. The most important step here is the '-with-readline=builtin' option in the. Gnuplot is a widely used scientific plotting program from the unix world. Installation on Mac OS X (Compile from Source with Dependencies) This is probably because there is no Arial.ttf on Snow Leopard use /Library/Fonts/Arial Unicode.ttf instead. This screenshot shows the output of gnuplot's native aquaterm output: If we create a png using set term png, the lines become 'jumpy' and pixellated: However, there is a version of the png terminal that uses the Cairo libs for rendering, and that makes the output far more smooth and nicer. Note: Mac OS X Leopard allows an " Arial" font with the png terminal, but Snow Leopard does not. usr/sbin/chkfontpath -l #to view the folders in the font pathsĬat fonts.dir #in a font folder, to view the descriptions of each font fileĮxport GNUPLOT_FONTPATH= /usr/share/X11/fonts/misc: /usr/share/X11/fonts/75dpi: /usr/share/X11/fonts/100dpi: /usr/share/X11/fonts/Type1: /usr/share/X11/fonts/TTF: /usr/share/fonts/default/Type1Įxport GDFONTPATH=$HOME/Library/Fonts:/Library/Fonts:/System/Library/Fonts configure, make & make install commands to save the output *In the above, append " 2>&1 | tee filename" to. ![]() configure script above to a user-accessible folder Follow the above steps starting from the wget command. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |