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 during a particular year. Examples are
provided for the SGPLOT and the SGPANEL procedures. Each example specifies an
optional baseline value on the Y axis.
title "Stock Trend for IBM";
proc sgplot data=sashelp.stocks
(where=(date >= "01jan2005"d and stock = "IBM"));
needle x=date y=close / baseline=80;
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;
needle x=date y=close / baseline=24;
run;
title;
Options are available that enable you to customize the needle plot and enhance ...
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