|
|
1.1 ! root 1: .G1 ! 2: frame invis ht 4 wid 3 bot solid ! 3: ticks off ! 4: coord x .5,3.5 y 0,25 ! 5: define Ht { "- $1,000 -" size -3 at 2,$1 } ! 6: Ht(5); Ht(10); Ht(15); Ht(20) ! 7: "Highest Point" "in 50 States" at 1,23 ! 8: "Heights of" "219 Volcanoes" at 3,23 ! 9: "Feet" at 2,21.5; arrow from 2,22.5 to 2,24 ! 10: define box { #(x, min, 25%, median, 75%, max, minname, maxname) ! 11: xc = $1; xl = xc-boxwidth/2; xh = xc+boxwidth/2 ! 12: y1 = $2; y2 = $3; y3 = $4; y4 = $5; y5 = $6 ! 13: bullet at xc,y1 ! 14: " $7" size -3 ljust at (xc,y1) ! 15: line from (xc,y1) to (xc,y2) # lo whisker ! 16: line from (xl,y2) to (xh,y2) # box bot ! 17: line from (xl,y3) to (xh,y3) # box mid ! 18: line from (xl,y4) to (xh,y4) # box top ! 19: line from (xl,y2) to (xl,y4) # box left ! 20: line from (xh,y2) to (xh,y4) # box right ! 21: line from (xc,y4) to (xc,y5) # hi whisker ! 22: bullet at xc,y5 ! 23: " $8" size -3 ljust at (xc,y5) ! 24: } ! 25: boxwidth = .3 ! 26: box(1, .3, 2.0, 4.6, 11.2, 20.3, Florida, Alaska) ! 27: box(3, .2, 3.7, 6.5, 9.5, 19.9, Ilhanova, Guallatiri) ! 28: .G2
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.