Difference between revisions of "GnuPlot"

From UFRC
Jump to navigation Jump to search
m (Text replacement - "#uppercase" to "uc")
Line 29: Line 29:
 
<!--Add additional HPC_FOO_BIN and other ENV VARIABLES below-->
 
<!--Add additional HPC_FOO_BIN and other ENV VARIABLES below-->
 
==System Variables==
 
==System Variables==
* HPC_{{#uppercase:{{#var:app}}}}_DIR - installation directory
+
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
 
<!--Run-->
 
<!--Run-->
  

Revision as of 21:20, 6 December 2019

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.

Required Modules

modules documentation

Serial

  • gnuplot

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"





Validation

  • Validated 4/5/2018