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
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.