GnuPlot

From UFRC
Revision as of 17:13, 15 August 2022 by Israel.herrera (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

gnuplot website  

Gnuplot is a portable command-line driven graphing utility for Linux, OS/2, MS Windows, OSX, VMS, and many other platforms. The source code is copyrighted but freely distributed (i.e., you don't have to pay for it). It was originally created to allow scientists and students to visualize mathematical functions and data interactively, but has grown to support many non-interactive uses such as web scripting. It is also used as a plotting engine by third-party applications like Octave. Gnuplot has been supported and under active development since 1986.

Environment Modules

Run module spider gnuplot to find out what environment modules are available for this application.

System Variables

  • HPC_GNUPLOT_DIR - installation directory

How To Run

GNUPlot may produce a warning about the missing Arial font when run. To enable the use of a free font similar to Arial add the following lines to your ~/.bashrc file:

export GDFONTPATH=/usr/share/fonts/liberation
export GNUPLOT_DEFAULT_GDFONT=LiberationSans-Regular

To display GNUPlot plots remotely log in with X11 forwarding before running gnuplot.

ssh -Y username@hpg.rc.ufl.edu

To save GNUPlot output to a raster image use something like the following commands in your gnuplot script:

set term png set output "output.png"