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-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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