File: multipage.htm

package info (click to toggle)
ploticus-doc 2.0.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 8,284 kB
  • ctags: 83
  • sloc: pascal: 149; makefile: 61; sh: 30
file content (234 lines) | stat: -rw-r--r-- 4,688 bytes parent folder | download | duplicates (3)
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
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<html><h1>multipage</h1><img src="multipage.gif"><p>
<a href="gall.using.html">How to download and try this example</a><br>

<pre><b>Usage: ploticus -png multipage.htm
or for postscript output: ploticus -ps multipage.htm | lp 

Test of a multi page ploticus plot using proc page to do the page break.
<hr></b>



// <b> specify data using <a href="../doc/getdata.html">proc getdata</a></b>
#proc getdata
data:
// yymm | %filled | #who worked | #trained | (#term) | #vol
9708 75 37 3 6 -
9709 90 41 3 0 -
9710 96 39 8 2 -
9711 96 44 6 2 -
9712 97 49 3 3 -
9801 95 41 5 3 -
9802 96 42 0 4 -
9803 97 41 0 1 -
9804 96 49 3 0 -
9805 90 47 2 2 -
9806 95 39 3 8 -
9807 89 33 2 4 -
9808 69 28 2 4 -
9809 70 35 1 0 33
9810 78 38 2 1 34
9811 82 30 4 0 36
9812 81 37 4 1 38
9901 81 31 4 0 40
9902 82 35 4 0 41
9903 76 36 1 0 38
9904 72 35 0 0 39

// <b> do page title using <a href="../doc/page.html">proc page</a></b>
#proc page
pagesize: 8.5 11
dobackground: no
titledetails: size=15
title: River Valley Cleanup
Volunteer Report
Through April '99

// <b> define an areadef template using #procdef <a href="../doc/areadef.html">(proc areadef)</a>
// #procdef defines a proc without rendering it; it may then be cloned.  </b>
#procdef areadef
titledetails: size=12 style=BI
box: 6.1 1
xscaletype: date yymm
xrange: 9707 9905
xaxis.stubs: inc 1
xaxis.stubformat: M
yaxis.stubs: inc 10
xaxis.autoyears: yyyy
#saveas: A

// <b> set up the topmost plotting area.. 
// clone the template and alter some things <a href="../doc/areadef.html">(proc areadef)</a></b>
#proc areadef
#clone: A
title: Percent of volunteer time filled
location: 1.2 8 
yrange: 50 110
yaxis.stubrange 50 100
yaxis.stubs: inc 10

// <b> do the topmost set of bars using <a href="../doc/bars.html">proc bars</a></b>
#proc bars
locfield: 1
lenfield: 2
showvalues: yes
barwidth: 0.15
color: 1
#saveas: B

// <b> 2nd bargraph</b>
#proc areadef
#clone: A
location: 1.2 6.2
yrange: 0 60
yaxis.stubrange: 0 60
title: Number of volunteers who worked

#proc bars
#clone: B
lenfield: 3

// <b> 3rd bargraph</b>
#proc areadef
#clone: A
location: 1.2 4.4
yrange: 0 60
yaxis.stubs: inc 10
title: Number of monthly volunteers

#proc annotate
location: 1.77473 4.73333
textdetails: size=8 align=L
text: (This information not 
reported until 9/98)

#proc bars
#clone: B
lenfield: 6

// <b> 4th bargraph</b>
#proc areadef
#clone: A
location: 1.2 2.6
yrange: 0 10
yaxis.stubs: inc 2
title: Number of new volunteers trained

#proc bars
#clone: B
lenfield: 4
labelzerovalue: yes

/////////////////////////////////////


// <b> do page title using <a href="../doc/page.html">proc page</a></b>
#proc page
pagesize: 8.5 11
dobackground: no
titledetails: size=15
title: Ocean Beach Cleanup
Volunteer Report
Through April '99

#proc getdata
data:
// yymm | %filled | #who worked | #trained | (#term) | #vol
9708 75 37 3 6 -
9709 80 41 2 0 -
9710 86 39 3 2 -
9711 86 34 6 5 -
9712 87 39 7 3 -
9801 85 31 5 3 -
9802 86 32 2 2 -
9803 87 31 0 1 -
9804 86 39 8 0 -
9805 80 37 2 2 -
9806 85 39 3 0 -
9807 89 33 2 4 -
9808 69 28 4 4 -
9809 70 35 1 0 33
9810 78 28 2 1 34
9811 72 20 2 0 36
9812 61 27 1 1 38
9901 61 21 3 0 40
9902 62 25 4 0 41
9903 66 26 1 0 38
9904 62 35 0 0 39


// <b> define an areadef template using #procdef <a href="../doc/areadef.html">(proc areadef)</a>
// #procdef defines a proc without rendering it; it may then be cloned.  </b>
#procdef areadef
titledetails: size=12 style=BI
box: 6.1 1
xscaletype: date yymm
xrange: 9707 9905
xaxis.stubs: inc 1
xaxis.stubformat: M
yaxis.stubs: inc 10
xaxis.autoyears: yyyy
#saveas: A

// <b> set up the topmost plotting area.. 
// clone the template and alter some things <a href="../doc/areadef.html">(proc areadef)</a></b>
#proc areadef
#clone: A
title: Percent of volunteer time filled
location: 1.2 8 
yrange: 50 110
yaxis.stubrange 50 100
yaxis.stubs: inc 10

// <b> do the topmost set of bars using <a href="../doc/bars.html">proc bars</a></b>
#proc bars
locfield: 1
lenfield: 2
showvalues: yes
barwidth: 0.15
color: white
#saveas: B

// <b> 2nd bargraph</b>
#proc areadef
#clone: A
location: 1.2 6.2
yrange: 0 60
yaxis.stubrange: 0 60
title: Number of volunteers who worked

#proc bars
#clone: B
lenfield: 3

// <b> 3rd bargraph</b>
#proc areadef
#clone: A
location: 1.2 4.4
yrange: 0 60
yaxis.stubs: inc 10
title: Number of monthly volunteers

#proc annotate
location: 1.77473 4.73333
textdetails: size=8 align=L
text: (This information not 
reported until 9/98)

#proc bars
#clone: B
lenfield: 6

// <b> 4th bargraph</b>
#proc areadef
#clone: A
location: 1.2 2.6
yrange: 0 10
yaxis.stubs: inc 2
title: Number of new volunteers trained

#proc bars
#clone: B
lenfield: 4
labelzerovalue: yes