The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license. Solution 4 - TerminalĪll content for this solution is sourced from the original question on Stackoverflow. 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. part of the result using gnuplots real function, and plot that instead: And. Spotlight for X11 on the DVD, and select X11User.pkg and run it. If you don't have x11 (look in usr/lib/X11), install it from the 1st install disk. The driver produces two different files, one for the eps or pdf part of the figure and one for the LaTeX part.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. The command set ytics nomirror tells gnuplot to use a different axis on the. Depending on your configuration, you may have trouble getting gnuplot to run on your Mac. Labels using 'back' are printed behind all other elements of the plot while labels using 'front' are printed above everything else. The back option of set label commands is handled slightly different than in other terminals. Since Adobe Illustrator understands PostScript level 1 commands directly, you should use set terminal post level1 instead. NOTE: Legacy terminal, originally written for Adobe Illustrator 3.0+. Terminals marked legacy are not built by default in recent gnuplot versions and may not actually work. To see a list of terminals available on a particular gnuplot installation, type 'set terminal' with no modifiers. This document may describe terminal types that are not available to you because they were not configured or installed on your system. These are selected by choosing an appropriate terminal type, possibly with additional modifying options. Gnuplot supports a large number of output formats. Next: Part 5: bugs Complete list of terminals
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |