Applications/Gnuplot

From HPC
Jump to: navigation , search

Application Details

  • Description : Gnuplot is a portable command-line driven graphing utility for Viper (Linux), and is available on other platforms.
  • Versions : 5.0.3, 5.0.5
  • Module names : gnuplot/5.0.3, gnuplot/5.0.5
  • License: Free/Open Source under the GNU license

Modules Available

  • gnuplot/5.0.3
  • gnuplot/5.0.5
Terminal Description gnuplot 5.0.3 gnuplot 5.0.5
canvas HTML Canvas object x x
cairolatex LaTeX picture environment using graphicx package and Cairo backend x
cgm Computer Graphics Metafile x x
context ConTeXt with MetaFun (for PDF documents) x x
corel EPS format for CorelDRAW x x
dumb ascii art for anything that prints text x x
dxf dxf-file for AutoCad (default size 120x80) x x
eepic EEPIC -- extended LaTeX picture environment x x
emf Enhanced Metafile format x x
emtex LaTeX picture environment with emTeX specials x x
epscairo eps terminal based on cairo x
epslatex LaTeX picture environment using graphicx package x x
fig FIG graphics language for XFIG graphics editor x x
gif GIF images using libgd and TrueType fonts x
jpeg JPEG images using libgd and TrueType fonts x
hpgl HP7475 and relatives [number of pens] [eject] x x
latex LaTeX picture environment x x
mf Metafont plotting standard x x
mp MetaPost plotting standard x x
pcl5 HP Designjet 750C, HP Laserjet III/IV, etc. (many options) x x
pdfcairo pdf terminal based on cairo x
png PNG images using libgd and TrueType fonts x
pngcairo png terminal based on cairo x
postscript PostScript graphics, including EPSF embedded files (*.eps) x x
pslatex LaTeX picture environment with PostScript \specials x x
pstex plain TeX with PostScript \specials x x
pstricks LaTeX picture environment with PSTricks macros x x
qms QMS/QUIC Laser printer (also Talaris 1200 and others) x x
qt Qt terminal x x
svg W3C Scalable Vector Graphics x x
tek40xx Tektronix 4010 and others; most TEK emulators x x
tek410x Tektronix 4106, 4107, 4109 and 420X terminals x x
texdraw LaTeX texdraw environment x x
tgif TGIF X11 [mode] [x,y] [dashed] ["font" [fontsize]] x x
tkcanvas Tk canvas widget x x
tpic TPIC -- LaTeX picture environment with tpic \specials x x
unknown Unknown terminal type - not a plotting device x x
vttek VT-like tek40xx terminal emulator x x
xterm Xterm Tektronix 4014 Mode x x

Usage Examples

Interactive usage



set terminal pngcairo  transparent enhanced font "arial,10" fontscale 1.0 size 600, 400 
# set output 'simple.2.png'
set bar 1.000000 front
set style circle radius graph 0.02, first 0.00000, 0.00000 
set style ellipse size graph 0.05, 0.03, first 0.00000 angle 0 units xy
set style textbox transparent margins  1.0,  1.0 border
unset logscale
unset paxis 1 tics
unset paxis 2 tics
unset paxis 3 tics
unset paxis 4 tics
unset paxis 5 tics
unset paxis 6 tics
unset paxis 7 tics
set title "Simple Plots" 
set title  font ",20" norotate
set paxis 1 range [ * : * ] noreverse nowriteback
set paxis 2 range [ * : * ] noreverse nowriteback
set paxis 3 range [ * : * ] noreverse nowriteback
set paxis 4 range [ * : * ] noreverse nowriteback
set paxis 5 range [ * : * ] noreverse nowriteback
set paxis 6 range [ * : * ] noreverse nowriteback
set paxis 7 range [ * : * ] noreverse nowriteback
set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.05, 0.6, 0 front  noinvert bdefault
plot [-pi/2:pi] cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))

Graphical Output

Gnuplot.jpg














Further Information