| 1 | <html><h1>lineplot5</h1><img src="lineplot5.gif"><p> |
| 2 | <a href="gall.using.html">How to download and try this example</a><br> |
| 3 | |
| 4 | <pre><b>Usage: pl -gif lineplot5.htm |
| 5 | <hr></b> |
| 6 | |
| 7 | #proc getdata |
| 8 | data: |
| 9 | 9807 13000 13000 |
| 10 | 9808 14500 13400 |
| 11 | 9809 12400 13500 |
| 12 | 9810 13100 15000 |
| 13 | 9811 12700 12000 |
| 14 | 9812 11800 11800 |
| 15 | |
| 16 | #proc page |
| 17 | textsize: 9 |
| 18 | |
| 19 | #proc areadef |
| 20 | title: Collections- actual vs. budget FY99 (in thousands) |
| 21 | rectangle: 1 1 5 2 |
| 22 | xscaletype: date yymm |
| 23 | xrange: 9806 9901 |
| 24 | yrange: 11000 18000 |
| 25 | // xaxis.stubs: list Jul\nAug\nSep\nOct\nNov\nDec |
| 26 | xaxis.stubformat: Mmm |
| 27 | xaxis.stubs: inc 1 |
| 28 | xaxis.stubrange: 9807 9812 |
| 29 | yaxis.stubs: incremental 1000 |
| 30 | |
| 31 | #proc lineplot |
| 32 | xfield: 1 |
| 33 | yfield: 2 |
| 34 | linedetails: color=red |
| 35 | pointsymbol: shape=diamond style=fill fillcolor=red radius=0.04 |
| 36 | legendlabel: Actual |
| 37 | |
| 38 | |
| 39 | #proc lineplot |
| 40 | xfield: 1 |
| 41 | yfield: 3 |
| 42 | linedetails: color=blue |
| 43 | pointsymbol: shape=circle style=fill fillcolor=blue radius=0.04 |
| 44 | legendlabel: Budget |
| 45 | altwhen: @@3 = @@2 |
| 46 | altsymbol: shape=square fillcolor=white radius=0.04 |
| 47 | |
| 48 | #proc legend |
| 49 | location: min+1 min-0.35 |
| 50 | format: singleline |
| 51 | |
| 52 |