Debian Codegraph @

pltestsuite/dtfut.htm

raw symbols SCIP
1 <img src="dtfut.gif">
2 <pre>
3 Usage: pl -gif propbars1.htm
4 // specify the data using proc getdata
5 // Each value is an individual percentage.
6
7 #proc page
8 landscape: yes
9
10 #proc getdata
11 file: dtfut.dat
12 #endproc
13
14
15 // define plotting area using proc areadef
16 #proc areadef
17 title: Last 10 Wave Scores Over 100
18 // titledetails: size=18 align=C adjust=0,0.1 color=black
19 rectangle: 1 1 4 5.5
20 xrange: 0 100
21 yrange: 0 35
22
23 // do y axis stubs ( score names) using proc yaxis
24 #proc yaxis
25 stubs: datafields 1
26 grid: color=powderblue
27 axisline: none
28 tics: no
29
30 // do x axis stubs (percents) using proc xaxis
31 #proc xaxis
32 stubs: inc 20
33 stubformat: %3.0f%%
34
35
36 // do green bars using proc bars
37 #proc bars
38 horizontalbars: yes
39 barwidth: 0.13
40 lenfield: 2
41 color: green
42 // (.6,.85,.8)
43 outline: no
44 legendlabel: Long position components (Green)
45 #saveas: B
46
47 // do red bars
48 // Use stackfields to position bars beyond the first set of bars
49 #proc bars
50 #clone B
51 lenfield: 3
52 stackfields: 2
53 legendlabel: Short position components (Red)
54 color: red
55
56 // do legend (1st column) using proc legend
57 // the noclear attribute must be specified otherwise the entries are removed
58 // we need to keep them for the 2nd invocation, below..
59 #proc legend
60 location: min+.02 min-0.3
61 noclear: yes
62