Hi.
I have two programs that create two different graphs. How do I get the two of them to match in the color schema each one has? Currently, they do not match in color schema, and have two different color palates that each one uses.
I tried using proc template; define style statement; with ods pdf file= style=; statement, but when I use the same for these, it does not produce similar results in terms of having similar colors between the two graphs.
Thank you in advanced for whatever help me you may offer me.
Hi @Sarah-R,
Assuming you have the same groups in the two graphs then you can use attribute maps to make the groups have consistent attributes, i.e. colors and shapes.
An example on how to use attribute maps can be seen here:
Which Procs are you using to create the graphs?
Can you post some of your code?
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.