
title "Stock Trend for IBM";
proc sgplot data=sashelp.stocks
(where=(date >= "01jan2005"d and stock = "IBM"));
highlow y=date high=high low=low
/ close=close;
run;
title;
title "Stock Trend for Intel and Microsoft";
proc sgpanel data=sashelp.stocks
(where=(date >= "01jan2005"d and
(stock = "Intel" or stock = "Microsoft")));
panelby stock;
highlow x=date high=high low=low
/ close=close;
run;
title;
Options are available that enable you to customize the high-low plot and enhance its
appearance. For example, you can do the following:
• use bars instead of lines to represent the data. If you use bars, then you can specify
the fill and outline attributes ...