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

<pre><b>Usage: pl -gif boxplot1.htm
<hr></b>


#proc getdata
  data: 
A  8
A  10
A  11
A  10
A  12
A  13
A  12
A  15
B  9
B  8
B  13
B  4
B  8
B  2
B  7


#proc categories
  axis: x
  datafield: 1

#proc areadef
  rectangle: 1 1 4 2.3
  xrange: categories
  yrange: 0 15
  yaxis.stubs: inc
  xaxis.stubs: usecategories
  xaxis.tics: none

#proc processdata
  action: summaryplus
  fields: 1
  valfield: 2



#proc categories
  axis: x
  slideamount: -0.15

#proc boxplot
  // uses the summaryplus output fieldnames by default...
  locfield: id1
  barwidth: 0.07
  color: xrgb(ffebff)
  mediansym: dot
  legendlabel: median-based
  


#proc categories
  axis: x
  slideamount: 0.15

#proc boxplot
  basis: mean
  locfield: id1
  barwidth: 0.07
  color: xrgb(fff6e1)
  mediansym: dot
  legendlabel: mean-based

#proc legend
  format: across
  location: min+0.2 min-0.4 
  outlinecolors: yes