Skip to Main Content
SAS 9.4 ODS Graphics, 2nd Edition
book

SAS 9.4 ODS Graphics, 2nd Edition

by SAS Documentation
December 2013
Beginner to intermediate content levelBeginner to intermediate
1172 pages
45h 47m
English
SAS Institute
Content preview from SAS 9.4 ODS Graphics, 2nd Edition
The following examples show the stock trend for IBM during a particular year. The first
two examples use the SGPLOT procedure to show the same plot along the X axis and
the Y axis, respectively. The third example uses the SGPANEL procedure to show a
paneled graph for Intel and Microsoft stock prices in the same year. Optional values
have been specified for the closing stock prices, which are represented as tick marks on
the high-low lines.
title "Stock Trend for IBM";
proc sgplot data=sashelp.stocks
(where=(date >= "01jan2005"d and stock = "IBM"));
highlow x=date high=high low=low
/ close=close;
run;
title;
title "Stock Trend for IBM";
proc sgplot ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SAS 9.4 ODS Graphics, 3rd Edition

SAS 9.4 ODS Graphics, 3rd Edition

Matt Neuburg

Publisher Resources

ISBN: 9781612909998