=2
1
6in
10in
-.7in
<#7#><#7#>
5in
7.95in
-.75in
-.745in
0=
2=
=.8
=.8
=.8
51
2
=b
<#13#><#13#>
3
=c
<#15#>You must set equal to 1, 2, or 3.<#15#>
<#16#>Illegal number of columns per page<#16#>
=.46in
=<#678#>52
c<#711#>
<#712#>
<#712#>
=6.86in<#713#><#713#><#711#>
ac
55
to -<#20#><#20#>
<#678#>
=`
{=`{
}=`}
=0em
59
<#37#>= <#37#>
<#686#><#717#>#tex2html_accent_inline2404#<#717#><#686#>
=
<#718#>#tex2html_accent_inline2405#<#718#>
(Copyright(c) Alex Woo 1992 June 1)
<#720#>#tex2html_accent_inline2406#<#720#><#721#>Starting GNUPLOT<#721#>
to <#722#>
<#723#>=.5=1em
to enter GNUPLOT<#723#><#724#>#tex2html_accent_inline2407#<#724#><#722#>
to <#725#>
<#726#>=.5=1em
to enter batch GNUPLOT<#726#><#727#>#tex2html_accent_inline2408#<#727#><#725#>
to <#728#>
<#729#>=.5=1em
to pipe commands to GNUPLOT<#729#><#730#>#tex2html_accent_inline2409#<#730#><#728#>
see below for environment variables you might want to change
before entering GNUPLOT.
<#731#>#tex2html_accent_inline2410#<#731#><#732#>Exiting GNUPLOT<#732#>
to <#733#>
<#734#>=.5=1em
exit GNUPLOT<#734#><#735#>#tex2html_accent_inline2411#<#735#><#733#>
All GNUPLOT commands can be abbreviated to the first few
unique letters, usually three characters. This reference uses
the complete name for clarity.
<#736#>#tex2html_accent_inline2412#<#736#><#737#>Getting Help<#737#>
to <#738#>
<#739#>=.5=1em
introductory help<#739#><#740#>#tex2html_accent_inline2413#<#740#><#738#>
to <#741#>
<#742#>=.5=1em
help on a topic<#742#><#743#>#tex2html_accent_inline2414#<#743#><#741#>
to <#744#>
<#745#>=.5=1em
list of all help available<#745#><#746#>#tex2html_accent_inline2415#<#746#><#744#>
to <#747#>
<#748#>=.5=1em
show current environment<#748#><#749#>#tex2html_accent_inline2416#<#749#><#747#>
<#750#>#tex2html_accent_inline2417#<#750#><#751#>Command-line Editing<#751#>
The UNIX, MS-DOS and VMS versions of GNUPLOT support command-line
editing and a command history. EMACS style editing is supported.
=1em
Line Editing:
to <#752#>
<#753#>=.5=1em
move back a single character<#753#><#754#>#tex2html_accent_inline2418#<#754#><#752#>
to <#755#>
<#756#>=.5=1em
move forward a single character<#756#><#757#>#tex2html_accent_inline2419#<#757#><#755#>
to <#758#>
<#759#>=.5=1em
moves to the beginning of the line<#759#><#760#>#tex2html_accent_inline2420#<#760#><#758#>
to <#761#>
<#762#>=.5=1em
moves to the end of the line<#762#><#763#>#tex2html_accent_inline2421#<#763#><#761#>
to <#764#>
<#765#>=.5=1em
delete the previous character<#765#><#766#>#tex2html_accent_inline2422#<#766#><#764#>
to <#767#>
<#768#>=.5=1em
deletes the current character<#768#><#769#>#tex2html_accent_inline2423#<#769#><#767#>
to <#770#>
<#771#>=.5=1em
deletes to the end of line<#771#><#772#>#tex2html_accent_inline2424#<#772#><#770#>
to <#773#>
<#774#>=.5=1em
redraws line in case it gets trashed<#774#><#775#>#tex2html_accent_inline2425#<#775#><#773#>
to <#776#>
<#777#>=.5=1em
deletes the entire line<#777#><#778#>#tex2html_accent_inline2426#<#778#><#776#>
to <#779#>
<#780#>=.5=1em
deletes the last word<#780#><#781#>#tex2html_accent_inline2427#<#781#><#779#>
=0em
=1em
History:
to <#782#>
<#783#>=.5=1em
moves back through history<#783#><#784#>#tex2html_accent_inline2428#<#784#><#782#>
to <#785#>
<#786#>=.5=1em
moves forward through history<#786#><#787#>#tex2html_accent_inline2429#<#787#><#785#>
=0em
The following arrow keys may be used on the MS-DOS version if READLINE is
used.
=1em
IBM PC Arrow Keys:
to <#788#>
<#789#>=.5=1em
Left Arrow<#789#><#790#>#tex2html_accent_inline2430#<#790#><#788#>
to <#791#>
<#792#>=.5=1em
Right Arrow<#792#><#793#>#tex2html_accent_inline2431#<#793#><#791#>
to <#794#>
<#795#>=.5=1em
Ctrl Left Arrow<#795#><#796#>#tex2html_accent_inline2432#<#796#><#794#>
to <#797#>
<#798#>=.5=1em
Ctrl Right Arrow<#798#><#799#>#tex2html_accent_inline2433#<#799#><#797#>
to <#800#>
<#801#>=.5=1em
Up Arrow<#801#><#802#>#tex2html_accent_inline2434#<#802#><#800#>
to <#803#>
<#804#>=.5=1em
Down Arrow<#804#><#805#>#tex2html_accent_inline2435#<#805#><#803#>
=0em
<#806#>#tex2html_accent_inline2436#<#806#><#807#>Graphics Devices<#807#>
All screen graphics devices are specified by names and options.
This information can be read from a startup file (.gnuplot in UNIX).
If you change the graphics device, you must replot with the
<#808#>#tex2html_accent_inline2437#<#808#>command.
to <#809#>
<#810#>=.5=1em
get a list of valid devices <#810#><#811#>#tex2html_accent_inline2438#<#811#><#809#>
=1em
Graphics Terminals:
to <#812#>
<#813#>=.5=1em
AED 512 Terminal<#813#><#814#>#tex2html_accent_inline2439#<#814#><#812#>
to <#815#>
<#816#>=.5=1em
AED 767 Terminal<#816#><#817#>#tex2html_accent_inline2440#<#817#><#815#>
to <#818#>
<#819#>=.5=1em
Amiga<#819#><#820#>#tex2html_accent_inline2441#<#820#><#818#>
to <#821#>
<#822#>=.5=1em
Adobe Illustrator 3.0 Format<#822#><#823#>#tex2html_accent_inline2442#<#823#><#821#>
to <#824#>
<#825#>=.5=1em
Apollo graphics primitive, rescalable<#825#><#826#>#tex2html_accent_inline2443#<#826#><#824#>
to <#827#>
<#828#>=.5=1em
Atari ST<#828#><#829#>#tex2html_accent_inline2444#<#829#><#827#>
to <#830#>
<#831#>=.5=1em
BBN Bitgraph Terminal<#831#><#832#>#tex2html_accent_inline2445#<#832#><#830#>
to <#833#>
<#834#>=.5=1em
SCO CGI Driver<#834#><#835#>#tex2html_accent_inline2446#<#835#><#833#>
to <#836#>
<#837#>=.5=1em
Apollo graphics primitive, fixed window<#837#><#838#>#tex2html_accent_inline2447#<#838#><#836#>
to <#839#>
<#840#>=.5=1em
SGI GL windown<#840#><#841#>#tex2html_accent_inline2448#<#841#><#839#>
to <#842#>
<#843#>=.5=1em
MS-DOS Kermit Tek4010 term - color<#843#><#844#>#tex2html_accent_inline2449#<#844#><#842#>
to <#845#>
<#846#>=.5=1em
MS-DOS Kermit Tek4010 term - mono<#846#><#847#>#tex2html_accent_inline2450#<#847#><#845#>
to <#848#>
<#849#>=.5=1em
NeXTstep window system<#849#><#850#>#tex2html_accent_inline2451#<#850#><#848#>
to <#851#>
<#852#>=.5=1em
REGIS graphics language<#852#><#853#>#tex2html_accent_inline2452#<#853#><#851#>
to <#854#>
<#855#>=.5=1em
Selanar Tek Terminal<#855#><#856#>#tex2html_accent_inline2453#<#856#><#854#>
to <#857#>
<#858#>=.5=1em
SunView window system<#858#><#859#>#tex2html_accent_inline2454#<#859#><#857#>
to <#860#>
<#861#>=.5=1em
Tektronix 4106, 4107, 4109 420X <#861#><#862#>#tex2html_accent_inline2455#<#862#><#860#>
to <#863#>
<#864#>=.5=1em
Tektronix 4010; most TEK emulators<#864#><#865#>#tex2html_accent_inline2456#<#865#><#863#>
to <#866#>
<#867#>=.5=1em
VAX UIS window system<#867#><#868#>#tex2html_accent_inline2457#<#868#><#866#>
to <#869#>
<#870#>=.5=1em
VT-like tek40xx terminal emulator<#870#><#871#>#tex2html_accent_inline2458#<#871#><#869#>
to <#872#>
<#873#>=.5=1em
UNIX plotting (not always supplied)<#873#><#874#>#tex2html_accent_inline2459#<#874#><#872#>
to <#875#>
<#876#>=.5=1em
ATT 3b1 or 7300 UNIXPC<#876#><#877#>#tex2html_accent_inline2460#<#877#><#875#>
to <#878#>
<#879#>=.5=1em
X11 default display device<#879#><#880#>#tex2html_accent_inline2461#<#880#><#878#>
to <#881#>
<#882#>=.5=1em
X11 multicolor point default device<#882#><#883#>#tex2html_accent_inline2462#<#883#><#881#>
=0em
=1em
Turbo C PC Graphics Modes:
to <#884#>
<#885#>=.5=1em
Hercules<#885#><#886#>#tex2html_accent_inline2463#<#886#><#884#>
to <#887#>
<#888#>=.5=1em
Color Graphics Adaptor<#888#><#889#>#tex2html_accent_inline2464#<#889#><#887#>
to <#890#>
<#891#>=.5=1em
Monochrome CGA<#891#><#892#>#tex2html_accent_inline2465#<#892#><#890#>
to <#893#>
<#894#>=.5=1em
Extended Graphics Adaptor<#894#><#895#>#tex2html_accent_inline2466#<#895#><#893#>
to <#896#>
<#897#>=.5=1em
VGA<#897#><#898#>#tex2html_accent_inline2467#<#898#><#896#>
to <#899#>
<#900#>=.5=1em
Monochrome VGA<#900#><#901#>#tex2html_accent_inline2468#<#901#><#899#>
to <#902#>
<#903#>=.5=1em
Super VGA - requires SVGA driver<#903#><#904#>#tex2html_accent_inline2469#<#904#><#902#>
to <#905#>
<#906#>=.5=1em
ATT 6300 Micro<#906#><#907#>#tex2html_accent_inline2470#<#907#><#905#>
=0em
MS Windows 3.x and OS/2 Presentation Manager are also supported.
=1em
Hardcopy Devices:
to <#908#>
<#909#>=.5=1em
Unknown - not a plotting device<#909#><#910#>#tex2html_accent_inline2471#<#910#><#908#>
to <#911#>
<#912#>=.5=1em
Dump ASCII table of X Y [Z] values<#912#><#913#>#tex2html_accent_inline2472#<#913#><#911#>
to <#914#>
<#915#>=.5=1em
printer or glass dumb terminal<#915#><#916#>#tex2html_accent_inline2473#<#916#><#914#>
to <#917#>
<#918#>=.5=1em
Roland DXY800A plotter<#918#><#919#>#tex2html_accent_inline2474#<#919#><#917#>
Dot Matrix Printers
to <#920#>
<#921#>=.5=1em
Epson-style 60-dot per inch printers<#921#><#922#>#tex2html_accent_inline2475#<#922#><#920#>
to <#923#>
<#924#>=.5=1em
Epson LX-800, Star NL-10 <#924#><#925#>#tex2html_accent_inline2476#<#925#><#923#>
to <#926#>
<#927#>=.5=1em
NX-1000, PROPRINTER <#927#><#928#>#tex2html_accent_inline2477#<#928#><#926#>
to <#929#>
<#930#>=.5=1em
NEC printer CP6, Epson LQ-800 <#930#><#931#>#tex2html_accent_inline2478#<#931#><#929#>
to <#932#>
<#933#>=.5=1em
Star Color Printer<#933#><#934#>#tex2html_accent_inline2479#<#934#><#932#>
to <#935#>
<#936#>=.5=1em
Tandy DMP-130 60-dot per inch <#936#><#937#>#tex2html_accent_inline2480#<#937#><#935#>
to <#938#>
<#939#>=.5=1em
Vectrix 384 Tandy color printer<#939#><#940#>#tex2html_accent_inline2481#<#940#><#938#>
Laser Printers
to <#941#>
<#942#>=.5=1em
Talaris EXCL language<#942#><#943#>#tex2html_accent_inline2482#<#943#><#941#>
to <#944#>
<#945#>=.5=1em
Imagen laser printer<#945#><#946#>#tex2html_accent_inline2483#<#946#><#944#>
to <#947#>
<#948#>=.5=1em
LN03-Plus in EGM mode<#948#><#949#>#tex2html_accent_inline2484#<#949#><#947#>
to <#950#>
<#951#>=.5=1em
PostScript graphics language <#951#><#952#>#tex2html_accent_inline2485#<#952#><#950#>
to <#953#>
<#954#>=.5=1em
CorelDraw EPS<#954#><#955#>#tex2html_accent_inline2486#<#955#><#953#>
to <#956#>
<#957#>=.5=1em
Prescribe - for the Kyocera Laser Printer<#957#><#958#>#tex2html_accent_inline2487#<#958#><#956#>
to <#959#>
<#960#>=.5=1em
Kyocera Laser Printer with Courier font<#960#><#961#>#tex2html_accent_inline2488#<#961#><#959#>
to <#962#>
<#963#>=.5=1em
QMS/QUIC Laser (also Talaris 1200 )<#963#><#964#>#tex2html_accent_inline2489#<#964#><#962#>
Metafiles
to <#965#>
<#966#>=.5=1em
AutoCAD DXF (120x80 default)<#966#><#967#>#tex2html_accent_inline2490#<#967#><#965#>
to <#968#>
<#969#>=.5=1em
FIG graphics language: SunView or X <#969#><#970#>#tex2html_accent_inline2491#<#970#><#968#>
to <#971#>
<#972#>=.5=1em
FIG graphics language: Large Graph<#972#><#973#>#tex2html_accent_inline2492#<#973#><#971#>
to <#974#>
<#975#>=.5=1em
SCO hardcopy CGI<#975#><#976#>#tex2html_accent_inline2493#<#976#><#974#>
to <#977#>
<#978#>=.5=1em
Frame Maker MIF 3.0<#978#><#979#>#tex2html_accent_inline2494#<#979#><#977#>
to <#980#>
<#981#>=.5=1em
Portable bitmap<#981#><#982#>#tex2html_accent_inline2495#<#982#><#980#>
to <#983#>
<#984#>=.5=1em
Uniplex Redwood Graphics Interface Protocol<#984#><#985#>#tex2html_accent_inline2496#<#985#><#983#>
to <#986#>
<#987#>=.5=1em
TGIF language<#987#><#988#>#tex2html_accent_inline2497#<#988#><#986#>
HP Devices
to <#989#>
<#990#>=.5=1em
HP2623A and maybe others<#990#><#991#>#tex2html_accent_inline2498#<#991#><#989#>
to <#992#>
<#993#>=.5=1em
HP2648 and HP2647<#993#><#994#>#tex2html_accent_inline2499#<#994#><#992#>
to <#995#>
<#996#>=.5=1em
HP7580, probably other HPs (4 pens)<#996#><#997#>#tex2html_accent_inline2500#<#997#><#995#>
to <#998#>
<#999#>=.5=1em
HP7475 lots of others (6 pens)<#999#><#1000#>#tex2html_accent_inline2501#<#1000#><#998#>
to <#1001#>
<#1002#>=.5=1em
HP Laserjet series II clones<#1002#><#1003#>#tex2html_accent_inline2502#<#1003#><#1001#>
to <#1004#>
<#1005#>=.5=1em
HP DeskJet 500<#1005#><#1006#>#tex2html_accent_inline2503#<#1006#><#1004#>
to <#1007#>
<#1008#>=.5=1em
HP PaintJet HP3630 <#1008#><#1009#>#tex2html_accent_inline2504#<#1009#><#1007#>
to <#1010#>
<#1011#>=.5=1em
HP laserjet III ( HPGL plot vectors)<#1011#><#1012#>#tex2html_accent_inline2505#<#1012#><#1010#>
TeX picture environments
to <#1013#>
<#1014#>=.5=1em
LaTeX picture environment<#1014#><#1015#>#tex2html_accent_inline2506#<#1015#><#1013#>
to <#1016#>
<#1017#>=.5=1em
EEPIC -- extended LaTeX picture <#1017#><#1018#>#tex2html_accent_inline2507#<#1018#><#1016#>
to <#1019#>
<#1020#>=.5=1em
LaTeX picture with emTeX specials<#1020#><#1021#>#tex2html_accent_inline2508#<#1021#><#1019#>
to <#1022#>
<#1023#>=.5=1em
PSTricks macros for TeX or LaTeX<#1023#><#1024#>#tex2html_accent_inline2509#<#1024#><#1022#>
to <#1025#>
<#1026#>=.5=1em
TPIC specials for TeX or LaTeX<#1026#><#1027#>#tex2html_accent_inline2510#<#1027#><#1025#>
to <#1028#>
<#1029#>=.5=1em
MetaFont font generation input<#1029#><#1030#>#tex2html_accent_inline2511#<#1030#><#1028#>
=0em
<#1031#>#tex2html_accent_inline2512#<#1031#><#1032#>Files<#1032#>
to <#1033#>
<#1034#>=.5=1em
<#1036#>#tex2html_accent_inline2513#<#1036#> a data file<#1034#><#1035#>#tex2html_accent_inline2514#<#1035#><#1033#>
to <#1037#>
<#1038#>=.5=1em
<#1040#>#tex2html_accent_inline2515#<#1040#> in a macro file<#1038#><#1039#>#tex2html_accent_inline2516#<#1039#><#1037#>
to <#1041#>
<#1042#>=.5=1em
<#1044#>#tex2html_accent_inline2517#<#1044#> command buffer to a macro file<#1042#><#1043#>#tex2html_accent_inline2518#<#1043#><#1041#>
to <#1045#>
<#1046#>=.5=1em
<#1048#>#tex2html_accent_inline2519#<#1048#> for later reuse<#1046#><#1047#>#tex2html_accent_inline2520#<#1047#><#1045#>
<#1049#>#tex2html_accent_inline2521#<#1049#><#1050#>PLOT SPLOT commands<#1050#>
<#264#>#tex2html_accent_inline2522#<#264#> and <#265#>#tex2html_accent_inline2523#<#265#> are the primary commands
<#266#>#tex2html_accent_inline2524#<#266#> is used to plot 2-d
functions and data, while <#267#>#tex2html_accent_inline2525#<#267#> plots 3-d surfaces and data.
Syntax:
plot {ranges} ;SPMlt;function;SPMgt; {title}{style}
{, ;SPMlt;function;SPMgt; {title}{style}...}
splot {ranges} ;SPMlt;function;SPMgt; {title}{style}
{, ;SPMlt;function;SPMgt; {title}{style}...}
where ;SPMlt;function;SPMgt; is either a mathematical expression, the name of a
data file enclosed in quotes, or a pair (<#268#>#tex2html_accent_inline2547#<#268#>) or triple (<#269#>#tex2html_accent_inline2548#<#269#>)
of mathematical expressions in the case of parametric functions.
User-defined functions and variables may also be defined here.
Examples will be given below.
<#1051#>#tex2html_accent_inline2549#<#1051#><#1052#>Plotting Data<#1052#>Discrete data contained in a file can displayed by specifying the
name of the data file (enclosed in quotes) on the <#271#>#tex2html_accent_inline2550#<#271#> or <#272#>#tex2html_accent_inline2551#<#272#>
command line. Data files should contain one data point per line.
Lines beginning with # (or ! on VMS) will be treated as comments
and ignored. For <#273#>#tex2html_accent_inline2552#<#273#>s, each data point represents an (x,y)
pair. For <#274#>#tex2html_accent_inline2553#<#274#>s, each point is an (x,y,z) triple. For <#275#>#tex2html_accent_inline2554#<#275#>s with
error bars (see <#276#>#tex2html_accent_inline2555#<#276#>), each data point is either
(x,y,ydelta) or (x,y,ylow,yhigh). In all cases, the numbers on each
line of a data file must be separated by blank space. This blank
space divides each line into columns.
For <#277#>#tex2html_accent_inline2556#<#277#>s the x value may be omitted, and for <#278#>#tex2html_accent_inline2557#<#278#>s the x
and y values may be omitted. In either case the omitted values are
assigned the current coordinate number. Coordinate numbers start at 0
and are incremented for each data point read.
<#1053#>#tex2html_accent_inline2558#<#1053#><#1054#>Surface Plotting<#1054#>Implicitly, there are two types of 3-d datafiles. If all the isolines
are of the same length, the data is assumed to be a grid data, i.e.,
the data has a grid topology. Cross isolines in the other parametric
direction (the ith cross isoline passes thru the ith point of all the
provided isolines) will also be drawn for grid data. (Note contouring
is available for grid data only.) If all the isolines are not of the
same length, no cross isolines will be drawn and contouring that data
is impossible.
For splot if 3-d datafile and using format (see <#280#>#tex2html_accent_inline2559#<#280#>)
specify only z (height field), a non parametric mode must be specified.
If, on the other hand, x, y, and z are all specified, a parametric
mode should be selected (see <#281#>#tex2html_accent_inline2560#<#281#>) since data is defining a
parametric surface.
to <#1055#>
<#1056#>=.5=1em
example of plotting a 3-d data<#1056#><#1057#>#tex2html_accent_inline2561#<#1057#><#1055#>
to <#1058#>
<#1059#>=.5=1em
example of plotting explicit<#1059#><#1060#>#tex2html_accent_inline2562#<#1060#><#1058#>
<#1061#>#tex2html_accent_inline2563#<#1061#><#1062#>Using Pipes<#1062#>
On some computer systems with a popen function (UNIX), the datafile
can be piped through a shell command by starting the file name
with a ';SPMlt;'. For example:
pop(x) = 103*exp(x/10)
plot ;SPMquot;;SPMlt; awk '{ print $1-1965 $2 }' population.dat;SPMquot;, pop(x)
would plot the same information as the first population example
but with years since 1965 as the x axis.
Similarly, output can be piped to another application, e.g.
set out ;SPMquot;|lpr -Pmy_laser_printer;SPMquot;
<#1063#>#tex2html_accent_inline2569#<#1063#><#1064#>Plot Data Using<#1064#>The format of data within a file can be selected with the <#288#>#tex2html_accent_inline2570#<#288#>
option. An explicit scanf string can be used, or simpler column
choices can be made.
to <#1065#>
<#1066#>=.5=1em
plot ;SPMquot;datafile;SPMquot;<#1066#><#1067#>#tex2html_accent_inline2571#<#1067#><#1065#>
to <#1068#>
<#1069#>=.5=1em
<#1069#><#1070#>#tex2html_accent_inline2572#<#1070#><#1068#>
to <#1071#>
<#1072#>=.5=1em
<#1072#><#1073#>#tex2html_accent_inline2573#<#1073#><#1071#>
to <#1074#>
<#1075#>=.5=1em
<#1075#><#1076#>#tex2html_accent_inline2574#<#1076#><#1074#>
to <#1077#>
<#1078#>=.5=1em
<#1078#><#1079#>#tex2html_accent_inline2575#<#1079#><#1077#>
to <#1080#>
<#1081#>=.5=1em
splot ;SPMquot;datafile;SPMquot;<#1081#><#1082#>#tex2html_accent_inline2576#<#1082#><#1080#>
to <#1083#>
<#1084#>=.5=1em
<#1084#><#1085#>#tex2html_accent_inline2577#<#1085#><#1083#>
;SPMlt;xcol;SPMgt;, ;SPMlt;ycol;SPMgt;, and ;SPMlt;zcol;SPMgt; explicitly select the columns to plot from
a space or tab separated multicolumn data file. If only ;SPMlt;ycol;SPMgt; is
selected for <#303#>#tex2html_accent_inline2586#<#303#>, ;SPMlt;xcol;SPMgt; defaults to 1. If only ;SPMlt;zcol;SPMgt; is selected
for <#304#>#tex2html_accent_inline2591#<#304#>, then only that column is read from the file. An ;SPMlt;xcol;SPMgt; of
0 forces ;SPMlt;ycol;SPMgt; to be plotted versus its coordinate number. ;SPMlt;xcol;SPMgt;,
;SPMlt;ycol;SPMgt;, and ;SPMlt;zcol;SPMgt; can be entered as constants or expressions.
If errorbars (see also <#305#>#tex2html_accent_inline2602#<#305#>) are used for <#306#>#tex2html_accent_inline2603#<#306#>s,
ydelta (for example, a +/- error) should be provided as the third
column, or ylow and yhigh as third and fourth columns. These columns
must follow the x and y columns.
Scanf strings override any ;SPMlt;xcol;SPMgt;:;SPMlt;ycol;SPMgt;(:;SPMlt;zcol;SPMgt;) choices, except for
ordering of input, e.g.,
to <#1086#>
<#1087#>=.5=1em
plot ;SPMquot;datafile;SPMquot;<#1087#><#1088#>#tex2html_accent_inline2610#<#1088#><#1086#>
causes the first column to be y and the third column to be x.
If the scanf string is omitted, the default is generated based on the
;SPMlt;xcol;SPMgt;:;SPMlt;ycol;SPMgt;(:;SPMlt;zcol;SPMgt;) choices. If the <#309#>#tex2html_accent_inline2617#<#309#> option is omitted, ''ff''
is used for <#310#>#tex2html_accent_inline2618#<#310#> (''ffff'' for <#311#>#tex2html_accent_inline2619#<#311#> <#312#>#tex2html_accent_inline2620#<#312#>s) and ''fff'' is
used for <#313#>#tex2html_accent_inline2621#<#313#>.
to <#1089#>
<#1090#>=.5=1em
plot ;SPMquot;MyData;SPMquot;<#1090#><#1091#>#tex2html_accent_inline2622#<#1091#><#1089#>
Data are read from the file ``MyData'' using the format
''*ff*20[^#math72#\n]f''. The meaning of this format is: ''*f'' ignore the
first number, ''f'' then read in the second and assign to x,
''*20[^#math73#\n]'' then ignore 20 non-newline characters, ''f'' then read in
the y value.
<#1092#>#tex2html_accent_inline2625#<#1092#><#1093#>Plot With Errorbars<#1093#>Error bars are supported for 2-d data file plots by reading one or
two additional columns specifying ydelta or ylow and yhigh
respectively. No support exists for x error bars or any error bars
for <#317#>#tex2html_accent_inline2626#<#317#>s.
In the default situation, GNUPLOT expects to see three or four
numbers on each line of the data file, either (x, y, ydelta) or
(x, y, ylow, yhigh). The x coordinate must be specified. The order
of the numbers must be exactly as given above. Data files in this
format can easily be plotted with error bars:
plot ;SPMquot;data.dat;SPMquot; with errorbars
The error bar is a vertical line plotted from (x, ylow) to (x,
yhigh). If ydelta is specified instead of ylow and yhigh,
ylow=y-ydelta and yhigh=y+ydelta are derived. If there
are only two numbers on the line, yhigh and ylow are both set to
y. To get lines plotted between the data points, <#318#>#tex2html_accent_inline2627#<#318#> the
data file twice, once with errorbars and once with lines.
If y autoscaling is on, the y range will be adjusted to fit the
error bars.
to <#1094#>
<#1095#>=.5=1em
x,y,ylow yhigh from columns 1,2,3,4<#1095#><#1096#>#tex2html_accent_inline2628#<#1096#><#1094#>
to <#1097#>
<#1098#>=.5=1em
x from third, y from second, ydelta from 6<#1098#><#1099#>#tex2html_accent_inline2629#<#1099#><#1097#>
<#1100#>#tex2html_accent_inline2630#<#1100#><#1101#>Plot Ranges<#1101#>The optional range specifies the region of the plot that will be
displayed.
Ranges may be provided on the <#324#>#tex2html_accent_inline2631#<#324#> and <#325#>#tex2html_accent_inline2632#<#325#> command line and
affect only that plot, or in the <#326#>#tex2html_accent_inline2633#<#326#>, <#327#>#tex2html_accent_inline2634#<#327#>, etc.,
commands, to change the default ranges for future plots.