![]() ![]() So I ran set term in gnuplot shell as saw no x11 in the list. However, this didn't work for me, neither did the setenv("GNUTERM","x11") in /usr/local/share/octave/site/m/startup/octaverc or ~/.octaverc (both do the same thing). You just need to run gnuplot from command line to get access to the gnuplot shell. Set terminal or set term is gnuplot command. If you see the that line above, then you are done, gnuplot is configured correctly and everybody's happy. Look for the line Available terminal types:Īqua Interface to graphics terminal server for Mac OS X Type this in the gnuplot terminal gnuplot> set term Verify: that gnuplot was configured with AquaTerm correctly by launching gnuplot in terminal gnuplot Verify that gnuplot can see aquaterm using the steps below and happy plotting! Once the /usr/local/ symlinks are created, reinstall gnuplot like this: brew install gnuplot -with-aquaterm # (formerly -aquaterm in old versions) ![]() This is necessary sometimes as the installer for AquaTerm can't create the symlinks in the correct places due to permission issues. Sudo ln -s /Library/Frameworks/amework/Versions/A/Headers/* /usr/local/include/aquaterm/. Sudo ln -s /Library/Frameworks/amework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.1.0.0.dylib Some *.h files, if they do not exist run these commands from terminal: sudo ln -s /Library/Frameworks/amework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.dylib ![]() The first line above should return some *.dylib files, the second line above should return We need to modify the homebrew recipe for gnuplot to enable aquaterm support, open up the brew recipe for gnuplot by typing: brew edit gnuplotĪnd add these lines as shown in this github commit message, this will enable the brew option for gnuplot to include aquaterm Ĭheck to see if the proper AquaTerm library symlinks exist by doing these checks: ls /usr/local/lib/libaquaterm* Method 2: This method is more advanced, but guaranteed to work if you are patient.Įssentially gnuplot cannot locate the AquaTerm library files, that's why aqua doesn't show up as a terminal type option after we installed gnuplot. Go to the verify step to see if everything worked, if not, follow method 2 Method 1: Simply reinstall gnuplot after installing AquaTerm seems to fix this issue for people. brew uninstall gnuplotĭownload AquaTerm from here: and install as you would any OSX application.įrom here on, there are two ways to get gnuplot happy with aquaterm, Method 1 is easier, but didn't work for me because my AquaTerm installation didn't create the correct symlinks in /usr/local/lib, Method 2 is the one that worked for me, and I am sharing the steps I took to get it working. Setting the terminal type to x11 would solve the problem, but if you want to get AquaTerm working with gnuplot here's how:įirst we need to uninstall the existing installation of gnuplot, open up a terminal and run this command. I didn't have to re-install gnuplot or other dependencies. Observing how Octave-gui could still plot charts, and reading up the answer with octaverc, I've got plotting to work from Octave-cli by adding a line with setenv("GNUTERM","qt") to /usr/local/octave/3.8.0/share/octave/site/m/startup/octaverc I've ran into a similar issue with Octave-cli, version 3.8.0, on OS X 10.9.1. Solution found and more details on: Solution 3 I had to add setenv("GNUTERM","X11") to OCTAVE_HOME/share/octave/site/m/startup/octaverc (OCTAVE_HOME usually is /usr/local) to make it work permanently. I know it's a patch, but finally I don't mind aquaterm or x11, I just want plots to be generated Solution 2 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. The problem was that Octave was "forcing" gnuplot to use aquaterm to plot. I found a way to generate the plots with octave, although is not using AquaTerm but x11. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |