Difference between revisions of "GnuPlot"

From UFRC
Jump to navigation Jump to search
m (Text replace - "{{#if: {{#var: mod}}|==Execution Environment and Modules== {{App_Module|app={{#var:app}}|intel={{#var:intel}}|mpi={{#var:mpi}}}}|}}" to "==Required Modules== modules documentation ===Serial=== *{{#var:app}}")
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Software]]
+
[[Category:Software]][[Category:Graphics]][[Category:Math]]
 
{|<!--CONFIGURATION: REQUIRED-->
 
{|<!--CONFIGURATION: REQUIRED-->
 
|{{#vardefine:app|gnuplot}}
 
|{{#vardefine:app|gnuplot}}
Line 7: Line 7:
 
|{{#vardefine:intel|}} <!-- "11.1" - Compiler Module Choice -->
 
|{{#vardefine:intel|}} <!-- "11.1" - Compiler Module Choice -->
 
|{{#vardefine:mpi|}} <!-- "openmpi/1.3.4"- MPI Module Choice -->
 
|{{#vardefine:mpi|}} <!-- "openmpi/1.3.4"- MPI Module Choice -->
|{{#vardefine:exe|}} <!--RUNNING -->
+
|{{#vardefine:exe|1}} <!--RUNNING -->
 
|{{#vardefine:conf|}} <!--CONFIGS-->
 
|{{#vardefine:conf|}} <!--CONFIGS-->
 
|{{#vardefine:pbs|}} <!--PBS SCRIPTS-->
 
|{{#vardefine:pbs|}} <!--PBS SCRIPTS-->
Line 23: Line 23:
 
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.
 
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.
 
<!--Modules-->
 
<!--Modules-->
==Required Modules==
+
==Environment Modules==
[[Modules|modules documentation]]
+
Run <code>module spider {{#var:app}}</code> to find out what environment modules are available for this application.
===Serial===
+
==System Variables==
*{{#var:app}}
+
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
<!--Add additional HPC_FOO_BIN and other ENV VARIABLES below-->
 
 
<!--Run-->
 
<!--Run-->
 +
 
{{#if: {{#var: exe}}|==How To Run==
 
{{#if: {{#var: exe}}|==How To Run==
DOUBLE_CLICK_TO_WRITE_INSTRUCTIONS_ON_RUNNING_THE_ACTUAL_BINARY
+
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 <code>~/.bashrc</code> 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"
 +
 
 
|}}
 
|}}
 
<!--Configuration-->
 
<!--Configuration-->

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"