File: gall.lineplot.html

package info (click to toggle)
ploticus-doc 2.40-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 9,604 kB
  • ctags: 159
  • sloc: pascal: 469; makefile: 63; sh: 11
file content (171 lines) | stat: -rw-r--r-- 4,896 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<html>
<head>
<!-- This file has been generated by unroff 1.0, 01/15/08 14:06:26. -->
<!-- Do not edit! -->
<STYLE TYPE="text/css">
<!--
        A:link{text-decoration:none}
        A:visited{text-decoration:none}
        A:active{text-decoration:none}
        OL,UL,P,BODY,TD,TR,TH,FORM { font-family: arial,helvetica,sans-serif;; font-size:small; color: #333333; }

        H1 { font-size: x-large; font-family: arial,helvetica,sans-serif; }
        H2 { font-size: large; font-family: arial,helvetica,sans-serif; }
        H3 { font-size: medium; font-family: arial,helvetica,sans-serif; }
        H4 { font-size: small; font-family: arial,helvetica,sans-serif; }
-->
</STYLE>
<title>ploticus: script examples gallery - line plots</title>
<body bgcolor=D0D0EE vlink=0000FF>
<br>
<br>
<center>
<table cellpadding=2 bgcolor=FFFFFF width=550><tr>
<td>
  <table cellpadding=2 width=550><tr>
  <td><br><h2>Script examples gallery - Line plots</h2></td>
  <td align=right>
  <small>
  <a href="../doc/welcome.html"><img src="../doc/ploticus.gif" border=0></a><br>
  Version 2.40 Jan'08
     </small><br><a href="../doc/scripthome.html">Scripts</a>
  <td></tr></table>
</td></tr>
<td>
<br>
<br>

<title>Manual page for Script_examples_gallery_-_Line_plots(PL)</title>
</head>
<body>

<p>
This page contains a series of lineplot examples
illustrating the available varieties and options.
These examples all use ploticus's
<a href="../doc/lineplot.html">proc lineplot</a>.

<h3>See also the <a href="../doc/prefab_lines_ex.html">lines prefab</a>,
the <a href="../doc/prefab_chron_ex.html">chron prefab</a>,
and the <a href="../doc/prefab_cumufrac_ex.html">cumufrac prefab</a>.</h3>

<br><br>

<h3>Example 1</h3>
<a href="sar-cpu.htm">sar-cpu<br><img src="sar-cpu.gif"></a>
<br>
This example plots cpu utilization data produced by the sar(1) utility.

<br><br><br>

<h3>Example 2</h3>
<a href="stock.htm">stock<br><img src="stock.gif"></a>
<br>
Stock price / volume display.  The data are read from a file.


<br><br><br>

<h3>Example 3</h3>
<a href="devol.htm">devol<br><img src="devol.gif"></a>
<br>
Another example where stairstep mode is used.
This example is also available with a <a href="transparent.htm">transparent background</a>.

<br><br><br>

<h3>Example 4</h3>
<a href="lineplot20.htm">lineplot20<br><img src="lineplot20.gif"></a>
<br>
This example demonstrates various combinations of <tt>stairstep</tt>, <tt>fill</tt>, and
<tt>gapmissing</tt>.  The latter is used to cause a gap in the curve where missing data 
is encountered.


<br><br><br>

<h3>Example 5</h3>
<a href="lineplot5.htm">lineplot5<br><img src="lineplot5.gif"></a>
<br>
A lineplot with symbols marking the points.
Use the <b>pointsymbol</b> attribute.
Note that the points where lines meet is denoted by a special symbol,
using the <b>altsym</b> and <b>altwhen</b> options.

<br><br><br>

<h3>Example 6</h3>
<a href="lineplot7.htm">lineplot7<br><img src="lineplot7.gif"></a>
<br>
Y value shown at selected points.  Use <b>numbers</b> option, and
the <b>pointlabelrange</b> attribute to control the range where
the labels will appear.

<br><br><br>

<h3><br><br>Example 7</h3>
<a href="accrual.htm">accrual<br><img src="accrual.gif"></a>
<br>
In this example, ploticus accumulates individual values to
produce cumulative lines.  This example also illustrates
using drawcommands to draw the straight goal lines.


<br>
<br>
<br>
<br>
<a name=lpfilled></a>

<h1>Filled lineplots</h1>

<h3>Example 1</h3>
<a href="lpfilled2.htm">lpfilled2<br><img src="lpfilled2.gif"></a>
<br>
<b>proc lineplot</b> is invoked three times, first to do 
the filled area using the <b>fill</b> option, 
second to do the highlight area,
and third to do the red line.  
The Y axis grid is done last.
 
<br><br><br>

<h3>Example 2</h3>
<a href="td.htm">td<br><img src="td.gif"></a>
<br>
Here, two lineplots with points denoted by geometric symbols
are plotted along with three curves with filled area underneath.
This requires that the filled curves be drawn from back to front,
and that the three curves have magnitudes such that all will be visible.

<br><br><br>

<h3>Example 3</h3>
<a href="stackedarea.htm">stackedarea<br><img src="stackedarea.gif"></a>
<br>
A stacked area graph.  The script contains a filter which stacks the levels.


<br>
<br>
</td></tr>
<td align=right>
<a href="../doc/welcome.html">
<img src="../doc/ploticus.gif" border=0></a><br><small>data display engine &nbsp; <br>
<a href="../doc/Copyright.html">Copyright Steve Grubb</a>
<br>
<br>
<center>
<img src="../gallery/all.gif"> 
</center>
</td></tr>
</table>
<br>
<center>
Ploticus is hosted at http://ploticus.sourceforge.net <br>
<img src="http://sourceforge.net/sflogo.php?group_id=38453" width="88" height="31" border="0" alt="SourceForge Logo">
</center>
<p><hr>
Markup created by <em>unroff</em> 1.0,&#160;<tt> </tt>&#160;<tt> </tt>January 15, 2008.
</body>
</html>