sa2

How to download and try this example

Usage: pl -gif sa2.htm

// illustrates multiple plots per "page" // specify overall text size (small) using proc page #proc page textsize: 7 // specify data using proc getdata #proc getdata #intrailer // set up first plotting area using proc areadef #proc areadef rectangle: 1 1 2 2 xrange: 0 100 yrange: 0 100 xaxis.stubs: inc 20 yaxis.stubs: inc 20 frame: yes #saveas: A // draw red triangle points using proc scatterplot #proc scatterplot xfield: 1 yfield: 2 symbol: shape=triangle fillcolor=red style=fillonly radius=0.04 #saveas: S // set up second plotting area using proc areadef #proc areadef rectangle: 2.5 1 3.5 2 #clone: A // draw green circle points using proc scatterplot #proc scatterplot #clone: S symbol: shape=circle fillcolor=green style=fillonly radius=0.04 // set up third plotting area using proc areadef #proc areadef rectangle: 3.8 1 4.3 2 xrange: 0 70 yrange: 0 26 frame: yes xaxis.stubs: incremental 70 // draw yellow bars using proc bars #proc bars horizontalbars: yes lenfield: 1 color: yelloworange outline: no barwidth: 0.01 // set up fourth plotting area using proc areadef #proc areadef rectangle 4.6 1.6 5.6 2 yrange: 0 70 xrange: 0 26 frame: yes #proc bars lenfield: 1 color: lavender outline: no barwidth: 0.01 // set up 5th plotting area using proc areadef #proc areadef rectangle 4.6 1 5.6 1.5 yrange: 0 70 xrange: 0 26 frame: yes #proc bars lenfield: 1 color: black outline: no #proc trailer data: 5 8 10 9 56 51 56 51 17 22 28 27 56 51 56 51 56 51 32 22 42 45 43 39 56 51 56 51 54 72 55 55 56 37 56 51 56 51 56 52 57 54 60 65 56 51 56 51 56 51