*include goptions; goptions vsize=6.5in vsize=6.5in htext=1.7; %include data(iris); title 'Iris data: Size & elongation'; * Now, try two derived measures: petal size and elongation; data iris; set iris; size = log (petallen*petalwid); elong= log (petallen/petalwid) + .25*(uniform(123453441)-.5); label size ='Size: log (PetalLen*PetalWid)' elong = 'Elongation: log (PetalLen/PetalWid)'; symbol1 v=circle h=1.8 c=black; symbol2 v=triangle h=1.7 c=red; symbol3 v=square h=1.7 c=blue; legend1 mode=share position=(top inside right) across=1; proc gplot; plot size * elong = species / frame vaxis=axis1 haxis=axis2 hm=1 vm=1 legend=legend1 vref=5.2 6.6 lvref=34; axis1 label=(a=90); axis2 order=(.5 to 3 by .5); proc stepdisc data=iris include=2 slenter=.05 slstay=.05; classes species; var size elong petallen petalwid sepallen sepalwid;