I want to use %modstyle to modify a style then use proc sgplot to prepare plots. How can I know which default style the sgplot uses for a special plot?
In addition, does someone can recomment me a study document for %modstyle?
Thanks
The style used is the style in effect at the time from either your SAS system settings or ODS destination statement(s).
I am not sure what you mean by "special plot". Unless you provide style overrides in options for requested plots then the current style is used.
Depending on what you are attempting you may also want to look at DATTRMAP dataset to set options for the values of group varaibles
What version of SAS do you have? SAS 9.4 has made some of these modifications super easy, within SGPLOT.
I am using 9.4.
"special plot", I mean using vbar or scatter or series statements under sgplot to prepare different figures. How can I know the default styles for different statements? The default style is only one?
There are default styles for different destinations not statements. html: htmlblue, rtf: rtf, printer and pdf: pearl.
You can specify the style on and ODS destination statement. I don't know if there is any way to query SAS. Seems unlikely.
Thanks
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.