File: volunteers.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 (120 lines) | stat: -rw-r--r-- 2,504 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
<html><h1>volunteers</h1><img src="volunteers.gif"><p>
<a href="gall.using.html">How to download and try this example</a><br>

<pre><b>Usage: ploticus -png volunteers.htm
or for postscript output: ploticus -ps volunteers.htm | lp 
<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
#if @DEVICE in gif,png   // make a reduced GIF
  scale: 0.5
#endif
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
#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