File: bars0.htm

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 (29 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (2)
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

// <b> set up a plotting area using <a href="../doc/areadef.html">proc areadef</a></b>
#proc areadef
  rectangle: 1 1 2.5 1.7
  xrange: 0 9
  yrange: 0 100

// <b> do Y axis using <a href="../doc/axis.html">proc yaxis</a></b>
#proc yaxis
  tics: none
  axisline: none
  ticincrement: 20
  grid: yes

// <b> specify the data to be plotted using <a href="../doc/getdata.html">proc getdata</a></b>
// rotate is used so that data may all be on one line,
// even though proc bars expects one value per line

#proc getdata
data: 65 76 98 87 61 72 78 84

#proc processdata
action: rotate

// <b> render the bars using <a href="../doc/bars.html">proc bars</a></b>
#proc bars
lenfield: 1
color: orange