12.07.2015 Views

Gnuplot 4.2 Tutorial

Gnuplot 4.2 Tutorial

Gnuplot 4.2 Tutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Gnuplot</strong> <strong>4.2</strong> <strong>Tutorial</strong>For more information on plotting 3-D surfaces, type3.2 Plotting Datagnuplot> help splotDiscrete data contained in a file can be displayed by specifying the name of the data file (enclosed in quotes) on theplot or splot command line. Data files should have the data arranged in columns of numbers. Columns should beseparated by white space (tabs or spaces) only, (no commas). Lines beginning with a # character are treated ascomments and are ignored by <strong>Gnuplot</strong>. A blank line in the data file results in a break in the line connecting datapoints.For example your data file, force.dat , might look like:# This file is called force.dat# Force-Deflection data for a beam and a bar# Deflection Col-Force Beam-Force0.000 0 00.001 104 510.002 202 1010.003 298 1480.0031 290 1490.004 289 2010.0041 291 2090.005 310 2500.010 311 2600.020 280 240file:///D|/gnuplot/gnuplot1/gnuplot.html (4 of 9)09.11.2011 08:21:12

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!