Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Setting the terminal type to x11 would solve the problem, but if you want to get AquaTerm working with gnuplot here's how: </p> <p>First we need to uninstall the existing installation of gnuplot, open up a terminal and run this command.</p> <pre><code>brew uninstall gnuplot </code></pre> <p>Download AquaTerm from here: <a href="http://sourceforge.net/projects/aquaterm/" rel="noreferrer">http://sourceforge.net/projects/aquaterm/</a> and install as you would any OSX application. </p> <p>From here on, there are two ways to get gnuplot happy with aquaterm, <strong>Method 1</strong> is easier, but didn't work for me because my AquaTerm installation didn't create the correct symlinks in /usr/local/lib, <strong>Method 2</strong> is the one that worked for me, and I am sharing the steps I took to get it working. </p> <p><strong>Method 1:</strong> Simply reinstall gnuplot after installing AquaTerm seems to fix this issue for people. </p> <pre><code>brew install gnuplot </code></pre> <p>Go to the verify step to see if everything worked, if not, follow method 2</p> <p><strong>Method 2:</strong> This method is more advanced, but guaranteed to work if you are patient. </p> <p>Essentially gnuplot cannot locate the AquaTerm library files, that's why aqua doesn't show up as a terminal type option after we installed gnuplot. We need to modify the homebrew recipe for gnuplot to enable aquaterm support, open up the brew recipe for gnuplot by typing: </p> <pre><code>brew edit gnuplot </code></pre> <p>And add these lines as shown in this github commit message, this will enable the brew option for gnuplot to include aquaterm <a href="https://github.com/mxcl/homebrew/issues/14647#issuecomment-21132477" rel="noreferrer">https://github.com/mxcl/homebrew/issues/14647#issuecomment-21132477</a></p> <p>Check to see if the proper AquaTerm library symlinks exist by doing these checks: </p> <pre><code>ls /usr/local/lib/libaquaterm* ls /usr/local/include/aquaterm/* </code></pre> <p>The first line above should return some *.dylib files, the second line above should return some *.h files, if they do not exist run these commands from terminal: </p> <pre><code>sudo ln -s /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.dylib sudo ln -s /Library/Frameworks/AquaTerm.framework/Versions/A/AquaTerm /usr/local/lib/libaquaterm.1.0.0.dylib sudo ln -s /Library/Frameworks/AquaTerm.framework/Versions/A/Headers/* /usr/local/include/aquaterm/. </code></pre> <p>This is necessary sometimes as the installer for AquaTerm can't create the symlinks in the correct places due to permission issues. Once the /usr/local/ symlinks are created, reinstall gnuplot like this: </p> <pre><code>brew install gnuplot --with-aquaterm # (formerly --aquaterm in old versions) </code></pre> <p>Verify that gnuplot can see aquaterm using the steps below and happy plotting! </p> <hr> <p><strong>Verify:</strong> that gnuplot was configured with AquaTerm correctly by launching gnuplot in terminal</p> <pre><code>gnuplot </code></pre> <p>Type this in the gnuplot terminal</p> <pre><code>gnuplot&gt; set term </code></pre> <p>Look for the line</p> <pre><code>Available terminal types: aqua Interface to graphics terminal server for Mac OS X ... </code></pre> <p>If you see the that line above, then you are done, gnuplot is configured correctly and everybody's happy. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload