* DoubleAxis2 Example. Use sgplot. Use sgplot to temperatures with two vertical axes, one for Celsius and one for Fahrenheit; data temperatures; input date DATE9. +1 ctemp 2.; ftemp = 9 * ctemp / 5 + 32; label ctemp='Celsius Temperature' ftemp='Fahrenheit Temperature'; datalines; 01jan2010 5 01feb2010 6 01mar2010 10 01apr2010 14 01may2010 16 01jun2010 20 01jul2010 23 01aug2010 23 01sep2010 21 01oct2010 18 01nov2010 10 01dec2010 5 ; proc print; format date DATE9.; proc sgplot; title 'DoubleAxis Example'; footnote 'Average Monthly Highs'; xaxis values=('01jan2010'd to '01jan2011'd by qtr); yaxis values=(0 to 30 by 10); y2axis values=(32 to 86 by 18); format date DATE7.; series x=date y=ctemp; scatter x=date y=ftemp / y2axis; run; quit;