The versions provided here include the GNU Readline library.Do not forget to reboot your computer after the installation, or the X11 terminal within Gnuplot will not work. Prior to installing this, you need to install X11/XQuartz.Versions up to 5.2.8 were compiled on OS X 10.11.6 (El Capitan) and were confirmed to work also on macOS 10.13 (High Sierra), 10.14 (Mojave), and 10.15 (Catalina). To fix this, issue the following command before starting gnuplot:Įxport GDFONTPATH=/Library/Fonts:/Library/Fonts/Microsoft:/System/Library/Fonts:/System/Library/Fonts/Supplemental Verify here that png terminals are detected in configure's outputĮxport GDFONTPATH=$HOME/Library/Fonts:/Library/Fonts:/System/Library/Fontsīefore you launch gnuplot or put GDFONTPATH initialization in your ~/.Note for users of the "png" terminal: On some versions of OS X, such as Catalina, the "Arial" font has been moved and you will receive an error message when you do "set terminal png". configure -with-readline=bsd -x-include=/usr/include/X11 -x-libraries=/usr/X11/lib configure -with-x -x-include=/usr/include/X11 -x-libraries=/usr/X11/lib -with-png=/usr/X11 Sudo cp -r /usr/X11/include/*png* /usr/local/include Sudo ln -s /usr/X11R6/include/fontconfig /usr/local/include Make install produce an error with doc, ignore it. Library will be put be in /usr/local : /usr/local/lib/libjpeg.a configure -enable-static -x-include=/usr/include/X11 -x-libraries=/usr/X11/lib Ĭp /usr/share/libtool/config/config.guess. tar.gz file in a directory, uncompact them with the Finder)Ĭp /usr/share/libtool/config/config.sub. You have to install libgd first and to link gnuplot with it.ġ - Download libraries JPEG (), FreeType 2.4.3, and GD 2.0.35 (Find them on the Web, copy the. Gnuplot needs libgd library to support graphics output formats like PNG. X11 should be installed on your computer (From Mac OSX install DVD). Here is an additional comment to JIMCLARK01's tips to compile gnuplot 4.4.2 under Snow Leopard (Mac OS X.6) with PNG, JPEG output available : Gnuplot is easily extensible to include new devices. Gnuplot supports many different types of terminals: interactive screen terminals (with mouse and hotkey functionality), pen plotters (like hpgl), printers (including postscript and many color devices), and printings to output file as vectorial pseudo-devices like LaTeX, metafont, pdf, svg, or bitmap png. It supports color or grayscale surfaces and maps, even for non-equidistant and non-rectangular 3D data, otherwise it offers data gridding. In 3D, it supports line, point and dot surfaces, with or without hidden line removal. In 2D, it can draw line, point, dot, box, histogram graphs or vector fields. Gnuplot is developed and supported since 1986, and having its scripts and commands easy to understand text files, it is time-portable as well. It does this job pretty well, and in addition it serves as non-interactive plotting engine for miscellaneous portable third-party applications, like Octave. It was originally intended as graphical program which would allow scientists and students to visualize mathematical functions and data. The software is copyrighted but freely distributed (i.e., you don't have to pay for it). Gnuplot is a portable command-line driven interactive datafile (text or binary) and function plotting utility for UNIX, IBM OS/2, MS Windows, DOS, Apple Mac, VMS, Atari and many other platforms.
0 Comments
Leave a Reply. |