Difference between revisions of "GnuPlot"

From UFRC
Jump to navigation Jump to search
 
Line 1: Line 1:
[[Category:Software]][[Category:Graphics]]
+
[[Category:Software]][[Category:Graphics]][[Category:Math]]
 
{|<!--CONFIGURATION: REQUIRED-->
 
{|<!--CONFIGURATION: REQUIRED-->
 
|{{#vardefine:app|gnuplot}}
 
|{{#vardefine:app|gnuplot}}

Latest revision as of 17:13, 15 August 2022

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"