sa2a


// Usage: pl -gif sa2a.htm 

// illustrates multiple plots per "page" - without axes 

//  specify overall text size (small) using proc page
#proc page
  textsize: 7

//  specify data using proc getdata
#proc getdata
#intrailer

//  set up second plotting area using proc areadef
#proc areadef
  rectangle: 2.5 1 3.5 2
  xrange: 0 100
  yrange: 0 100
  frame: yes

//  draw green circle points using proc scatterplot
#proc scatterplot
  xfield: 1
  yfield: 2
  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

//  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