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

<pre><b>Usage: ploticus -png errbar5.htm

In slide format.
<hr></b>

#set LINEWID = 0.5

#proc page
backgroundcolor: darkblue
color: yellow
linewidth: 2.5
pagesize: 6.6 4.4
#if @DEVICE in gif,png
  scale: 0.7
#endif


#proc areadef:
title:  Power of Various Sample Sizes
titledetails: align=C size=18 adjust=0,0.5
areaname: slide
yrange: -0.10 0.25
xrange: -0.05 0.20
yaxis.stubs: inc 0.05
yaxis.stubformat: %4.2f
xaxis.stubs: inc 0.05
xaxis.stubformat: %4.2f
yaxis.label:	95% CI on p1 - p2
yaxis.labeldistance: 0.8
xaxis.label:	Observed Difference in Mortality ( p1 <= p2 )

#proc getdata:
data:	0	.080 .057 .046 .040 .037
	0.05    .078 .055 .045 .039 .036
	0.1     .075 .053 .043 .038 .034
	0.15    .072 .051 .041 .036 .033

#proc lineplot:
Xfield:	1
Yfield:	1
linedetails: width=@LINEWID
	

#proc bars
locfield: 1
lenfield: 1
errbarfield: 2
thinbarline: color=white width=@LINEWID
legendlabel: N = 500
#saveas:	A

#proc bars
#clone:	A
errbarfield: 3
thinbarline: color=yellow width=@LINEWID
legendlabel: N = 1000

#proc bars
#clone:	A
errbarfield: 4
thinbarline: color=green width=@LINEWID
legendlabel: N = 1500

#proc bars
#clone:	A
errbarfield:  5
thinbarline: color=pink width=@LINEWID
legendlabel: N = 2000

#proc bars
#clone: A
errbarfield:  6
thinbarline: color=red width=0.7
legendlabel: N = 2400

#proc legend
location:  min+0.8 max-0.02