BookmarkSubscribeRSS Feed
mmhxc5
Quartz | Level 8

Hi all,

 

I would like to use fill patterns instead of fill colors from the ODS graphics designer app, but I could not do it. I complete the analysis with SAS and then I use the ODS graphics designer app to plot my graphs and edit the graph styles. I googled, but I could not figure out how to use fill patterns like Journal2 style within ODS Graphics Designer. I would appreciate any help on this topic.

1 REPLY 1
Rick_SAS
SAS Super FREQ

When you use the ODS Graphics Designer, you can see the GTL for the current graph by selecting View->Code. You can cut and paste this code in a SAS editor and run the program to create the template. You can create the graph using PROC SGRENDER. At the time the graph is RENDERED, it checks the current style and applies the style to the template. 

 

In short, set the style then call SGRENDER on the template:

 

ods html style=Journal;
proc sgrender data=Have template=MyTmplate;
run;
ods html close;

 

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 1001 views
  • 1 like
  • 2 in conversation