BookmarkSubscribeRSS Feed
JonathanNitzan
Calcite | Level 5

I'm using Proc Template (Layout Lattice) and wonder if there is a way to to change the color of my axes. Thank you.

 

3 REPLIES 3
ger15xxhcker
Quartz | Level 8

Yes, it is possible to change the color of your axes when using Proc Template with Layout Lattice. To accomplish this you will need to use the LAYOUT AXIS statement in the same way as with Proc GChart. For example, to change the color of the left axis to purple, you would use the following code:

 

layout axis=left color=purple;

DanH_sas
SAS Super FREQ

Yes you can; but the code for doing that depends on whether your axes internal to each cell or external for each row and column. Can you show us your template (or at least a reduced version that shows your layout structure and layout options)? 

JonathanNitzan
Calcite | Level 5

Thank you for your answer. Enclose is my program with the relevant Proc Template.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 833 views
  • 0 likes
  • 3 in conversation