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

« back to all changes in this revision

Viewing changes to pltestsuite/td.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>td</h1><img src="td.gif"><p>
 
2
<a href="gall.using.html">How to download and try this example</a><br>
 
3
 
 
4
<pre><b>Usage: pl -gif td.htm
 
5
Source: Steffen R et.al., Epidemiology, Etiology and Impact
 
6
of Traveler's Diarrhea in Jamaica, JAMA 3/3/99 p. 815.
 
7
<hr></b>
 
8
 
 
9
//<b> set page-wide attributes appropriate for slides <a href="../doc/page.html">(proc page)</a></b>
 
10
#proc page
 
11
  color: white
 
12
  backgroundcolor: darkblue
 
13
  linewidth: 2
 
14
  pagesize: 6.6 4.4
 
15
  #if @DEVICE in gif,png
 
16
    scale: 0.7
 
17
  #endif
 
18
 
 
19
//<b> specify data <a href="../doc/getdata.html">(proc getdata)</a></b>
 
20
#proc getdata
 
21
data:
 
22
//    Mild    Moderate Classic  HA      HB
 
23
        23      18      10      10      35
 
24
        21      17      9       16      22
 
25
        28      24      13      24      39
 
26
        30      25      15      24      38
 
27
        28      24      14      16      29
 
28
 
 
29
//<b> set up plotting area <a href="../doc/areadef.html">(proc areadef)</a></b>
 
30
#proc areadef
 
31
  title: TD (Travelers Diarrhea)\nAttack Rates in Tourists 
 
32
  titledetails: align=C size=14 adjust=0,0.3
 
33
  //rectangle: 1 1 5 2
 
34
  areaname: slide
 
35
  xrange: 0 6
 
36
  yrange: 0 40
 
37
 
 
38
 
 
39
//<b> do filled pink curve <a href="../doc/lineplot.html">(proc lineplot)</a></b>
 
40
#proc lineplot
 
41
  yfield: 1
 
42
  fill: pink
 
43
  legendlabel: Mild TD
 
44
 
 
45
//<b> do filled blue curve <a href="../doc/lineplot.html">(proc lineplot)</a></b>
 
46
#proc lineplot
 
47
  yfield: 2
 
48
  fill: powderblue
 
49
  legendlabel: Moderate TD
 
50
 
 
51
//<b> do filled green curve <a href="../doc/lineplot.html">(proc lineplot)</a></b>
 
52
#proc lineplot
 
53
  yfield: 3
 
54
  fill: green
 
55
  legendlabel: Classic TD
 
56
 
 
57
//<b> do curve w/ diamond points <a href="../doc/lineplot.html">(proc lineplot)</a></b>
 
58
#proc lineplot
 
59
  yfield: 4
 
60
  pointsymbol: shape=diamond style=filled fillcolor=orange 
 
61
  linedetails: width=0.5 color=yellow
 
62
  legendlabel: Hotel A
 
63
 
 
64
//<b> do curve w/ square points <a href="../doc/lineplot.html">(proc lineplot)</a></b>
 
65
#proc lineplot
 
66
  yfield: 5
 
67
  pointsymbol: shape=square style=filled fillcolor=orange
 
68
  linedetails: width=0.5 color=yellow
 
69
  legendlabel: Hotel B
 
70
 
 
71
 
 
72
//<b> do axes <a href="../doc/axis.html">(proc xaxis, proc yaxis)</a></b> last so they are not obliterated
 
73
#proc xaxis
 
74
  stubrange: 0 6
 
75
  stubs: text
 
76
        March\n1996
 
77
        April\n1996
 
78
        May\n1996
 
79
        June\n1996
 
80
        July\n1996
 
81
 
 
82
#proc yaxis
 
83
  stubs: inc 10
 
84
 
 
85
 
 
86
//<b> render legend using labels specified above <a href="../doc/legend.html">(proc legend)</a></b>
 
87
#proc legend
 
88
  location: max-1 max