| 1 | <html><h1>devol</h1><img src="devol.gif"><p> |
| 2 | <a href="gall.using.html">How to download and try this example</a><br> |
| 3 | |
| 4 | <pre><b>Usage: pl -gif devol.htm |
| 5 | Uses the data file <a href="devol.dat">devol.dat</a> |
| 6 | <hr></b> |
| 7 | |
| 8 | //<b> set page-wide attributes using <a href="../doc/page.html">proc page</a></b> |
| 9 | #proc page |
| 10 | #if @DEVICE in gif,png |
| 11 | scale: 0.7 0.5 |
| 12 | #endif |
| 13 | color: gray(0.7) |
| 14 | |
| 15 | //<b> set up plotting area and axes using <a href="../doc/areadef.html">proc areadef</a></b> |
| 16 | #proc areadef: |
| 17 | // rectangle: 1 1 6 5 |
| 18 | title: Number of inquiries per month |
| 19 | titledetails: size=18 align=C adjust=0,0.1 color=black |
| 20 | xscaletype: date mm/yy |
| 21 | xrange: 12/86 06/89 |
| 22 | yrange: 0 2000 |
| 23 | |
| 24 | xaxis.stubs: inc 1 month |
| 25 | xaxis.stubformat: M |
| 26 | xaxis.autoyears: 'yy |
| 27 | xaxis.grid: width=0.5 |
| 28 | xaxis.stubrange: 01/87 05/89 |
| 29 | xaxis.label: Month and year |
| 30 | xaxis.labeldetails: adjust=0,-0.15 |
| 31 | |
| 32 | yaxis.stubs: inc 200 |
| 33 | yaxis.grid: width=0.5 |
| 34 | |
| 35 | //<b> read in data set using <a href="../doc/getdata.html">proc getdata</a></b> |
| 36 | #proc getdata: |
| 37 | file: devol.dat |
| 38 | |
| 39 | //<b> do stairstep line plot using <a href="../doc/lineplot.html">proc lineplot</a></b> |
| 40 | #proc lineplot: |
| 41 | yfield: 2 |
| 42 | xfield: 1 |
| 43 | linedetails: width=2 color=purple |
| 44 | stairstep: yes |
| 45 | numbers: color=purple |
| 46 | lastseglen: 30(s) |
| 47 | |
| 48 | #proc annotate |
| 49 | backdim: 11/87(s) 400(s) 1.2 0.7 |
| 50 | ellipse: yes |
| 51 | outline: color=red |