~ubuntu-branches/ubuntu/maverick/ploticus/maverick

« back to all changes in this revision

Viewing changes to pltestsuite/errbar5.htm

  • Committer: Bazaar Package Importer
  • Author(s): James W. Penny
  • Date: 2002-04-10 23:02:04 UTC
  • Revision ID: james.westby@ubuntu.com-20020410230204-64em4ns2f57c5u3l
Tags: 2.0.3-1
* The "That Tears it, Now You Have to Update Docs Package" Release.
* New upstream release (well, not so new :-( )   closes: Bug#137578
* Correct missing libpng2-dev in build-depends.  closes: Bug#142205
* Use correct syntax to:
* close URL type.                                closes: Bug#137577
* fix Architecture                               closes: Bug#141657
* close ITP                                      closes: Bug#132878

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html><h1>errbar5</h1><img src="errbar5.gif"><p>
 
2
<a href="gall.using.html">How to download and try this example</a><br>
 
3
 
 
4
<pre><b>Usage: pl -gif errbar5.htm
 
5
 
 
6
In slide format.
 
7
<hr></b>
 
8
 
 
9
#set LINEWID = 0.5
 
10
 
 
11
#proc page
 
12
backgroundcolor: darkblue
 
13
color: yellow
 
14
linewidth: 2.5
 
15
pagesize: 6.6 4.4
 
16
#if @DEVICE in gif,png
 
17
  scale: 0.7
 
18
#endif
 
19
 
 
20
 
 
21
#proc areadef:
 
22
title:  Power of Various Sample Sizes
 
23
titledetails: align=C size=18 adjust=0,0.5
 
24
areaname: slide
 
25
yrange: -0.10 0.25
 
26
xrange: -0.05 0.20
 
27
yaxis.stubs: inc 0.05
 
28
yaxis.stubformat: %4.2f
 
29
xaxis.stubs: inc 0.05
 
30
xaxis.stubformat: %4.2f
 
31
yaxis.label:    95% CI on p1 - p2
 
32
yaxis.labeldistance: 0.8
 
33
xaxis.label:    Observed Difference in Mortality ( p1 <= p2 )
 
34
 
 
35
#proc getdata:
 
36
data:   0       .080 .057 .046 .040 .037
 
37
        0.05    .078 .055 .045 .039 .036
 
38
        0.1     .075 .053 .043 .038 .034
 
39
        0.15    .072 .051 .041 .036 .033
 
40
 
 
41
#proc lineplot:
 
42
Xfield: 1
 
43
Yfield: 1
 
44
linedetails: width=@LINEWID
 
45
        
 
46
 
 
47
#proc bars
 
48
locfield: 1
 
49
lenfield: 1
 
50
errbarfield: 2
 
51
thinbarline: color=white width=@LINEWID
 
52
legendlabel: N = 500
 
53
#saveas:        A
 
54
 
 
55
#proc bars
 
56
#clone: A
 
57
errbarfield: 3
 
58
thinbarline: color=yellow width=@LINEWID
 
59
legendlabel: N = 1000
 
60
 
 
61
#proc bars
 
62
#clone: A
 
63
errbarfield: 4
 
64
thinbarline: color=green width=@LINEWID
 
65
legendlabel: N = 1500
 
66
 
 
67
#proc bars
 
68
#clone: A
 
69
errbarfield:  5
 
70
thinbarline: color=pink width=@LINEWID
 
71
legendlabel: N = 2000
 
72
 
 
73
#proc bars
 
74
#clone: A
 
75
errbarfield:  6
 
76
thinbarline: color=red width=0.7
 
77
legendlabel: N = 2400
 
78
 
 
79
#proc legend
 
80
location:  min+0.8 max-0.02