3
<!-- This file has been generated by unroff 1.0, 01/11/02 07:19:18. -->
5
<STYLE TYPE="text/css">
7
A:link{text-decoration:none}
8
A:visited{text-decoration:none}
9
A:active{text-decoration:none}
12
<title>ploticus: lines prefab</title>
13
<body bgcolor=D0D0EE vlink=0000FF>
17
<table cellpadding=2 bgcolor=FFFFFF width=550 ><tr>
19
<table cellpadding=2 width=550><tr>
20
<td><br><h2>lines prefab</h2></td>
23
<a href="../doc/Welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
24
<a href="../doc/Welcome.html">Welcome</a>
25
<a href="../gallery/index.html">Gallery</a>
26
<a href="../doc/Contents.html">Handbook</a>
33
<title>Manual page for lines_prefab(PL)</title>
37
<a href="#desc">Skip over the examples</a>
41
<center><table cellpadding=2><tr>
42
<td><img src="../gallery/prefab_img/lines1.gif"></td></tr>
46
pl -prefab lines data=data17 x=1 y=2 pointsym=none
58
<center><table cellpadding=2><tr>
59
<td><img src="../gallery/prefab_img/lines2.gif"></td></tr>
63
pl -prefab lines data=data10 delim=tab x=1 y=2 y2=4 step=yes \
64
yrange=0 name="Group A" name2="Group B" xlbl=Months
71
<center><table cellpadding=2><tr>
72
<td><img src="../gallery/prefab_img/lines3.gif"></td></tr>
76
pl -prefab lines data=data10 delim=tab x=1 y=2 err=3 y2=4 err2=5 \
77
y3=6 err3=7 y4=8 err4=9 yrange=0 xlbl=Months \
78
name="Group A" name2="Group B" name3="Group C" name4="Group D"
81
0 100 2 100 4 100 3 100 4
82
1.5 92 4 94 7 87 6 86 5
92
<img src="../gallery/prefab_img/lines4.gif">
96
pl -prefab lines data=data20 x=1 y=2
109
<img src="../gallery/prefab_img/lines5.gif">
114
pl -prefab lines data=data20 x=1 y=2 fill=redorange pointsym=none \
117
In this example the same data field was given twice, first to do the filled
118
area, and again to do the blue line.<tt> </tt>
125
<img src="../gallery/prefab_img/lines6.gif">
130
pl -prefab lines data=data20 x=1 y=2 gapmissing=yes
137
<img src="../gallery/prefab_img/lines7.gif">
142
pl -prefab lines data=data20 x=1 y=2 fill=tan1 pointsym=none \
143
y2=2 pointsym2=none y3=3 pointsym3=none linedet3=color=black \
144
yrange="0 25" name="background" name3="interior"
151
<a href="prefabs.html#examples">
152
How to run these examples
161
<a href="prefabs.html">
164
for producing line plots with optional point symbols and error bars,
165
for up to four groups.<tt> </tt>
166
For the first group data points are in data fields given in <b>x</b> and <b>y</b>, and
167
optional error bar value given in <b>err</b>.<tt> </tt>
168
By default <b>x</b> is assumed to be continuous numeric, but it can be categories
169
if <b>cats</b> is specified (for chronological X data, use the
170
<a href="prefab_chron.html">
174
To display a second curve, use <b>y2</b>, <b>err2</b>, etc.<tt> </tt>
175
Same for third and fourth curves.<tt> </tt>
176
This prefab is based on
177
<a href="lineplot.html">
188
<a href="prefab_stdparms.html">
189
Standard prefab parameters
191
are all supported. <b>data</b>, <b>x</b> and <b>y</b> are required.<tt> </tt>
196
<b>name</b> is a short description for the first curve, for
197
inclusion in a legend.<tt> </tt>
202
<b>linedet</b> controls
203
<a href="linedetails.html">
204
line appearance details
211
<b>pointsym</b> controls the data points on the first curve.<tt> </tt>
212
<a href="symboldetails.html">
215
. It may be given as <tt>none</tt> for no point symbol.<tt> </tt>
220
<b>fill</b> may be specified as a
221
<a href="color.html">
224
and causes the area under the curve to be filled.<tt> </tt>
229
<b>y2</b>, <b>err2</b>, <b>name2</b>, <b>linedet2</b>, <b>pointsym2</b>, and <b>fill2</b>
230
may be specified for a second curve. <b>x</b> will be used for the
231
X component of the curve.<tt> </tt>
236
<b>y3</b>, <b>err3</b>, <b>name3</b>, <b>linedet3</b>, <b>pointsym3</b>, and <b>fill3</b>
237
may be specified for a third curve. <b>x</b> will be used for the
238
X component of the curve.<tt> </tt>
243
<b>y4</b>, <b>err4</b>, <b>name4</b>, <b>linedet4</b>, <b>pointsym4</b>, and <b>fill4</b>
244
may be specified for a fourth curve. <b>x</b> will be used for the
245
X component of the curve.<tt> </tt>
250
<b>step</b> may be specified as <tt>yes</tt> to get stairstep curves.<tt> </tt>
251
This turns off point symbols. Applies to all curves.<tt> </tt>
257
<b>gapmissing</b> may be specified as <tt>yes</tt> or <tt>small</tt>.<tt> </tt>
258
If <tt>yes</tt>, missing data will cause a gap in the line (normally
259
the line connects plottable points without a gap). <tt>small</tt> is
260
the same as <tt>yes</tt> except that it leaves a small overhang.<tt> </tt>
261
Applies to all curves.<tt> </tt>
266
<b>cats</b> may be specified as <tt>yes</tt> to signify that X values
267
are categories rather than numeric.<tt> </tt>
272
<b>errcolor</b> is the error bar
273
<a href="color.html">
281
<b>errwidth</b> is the width of error bar tails (default = 0.08)
286
<b>errthick</b> is the thickness of the error bar lines (default = 0.5)
291
<b>legend</b> controls the
292
<a href="attributetypes.html#xy">
295
of the legend. Example: <tt>"legend=1 0.5"</tt> Default is <tt>min+0.4 max</tt>.<tt> </tt>
301
<a href="Welcome.html">
302
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine <br>
303
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
307
<img src="../gallery/all.gif">
313
Markup created by <em>unroff</em> 1.0, <tt> </tt> <tt> </tt>January 11, 2002.