BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Ram_SAS
Obsidian | Level 7

Hi,

Running SAS 9.3, how to assign specific symbol, color, patterns for different series plots in proc sgpanel?  I have grouped different subjects into two groups and trying to add specific colors, patterns and symbols for subjects.  Which needs to be consistent with other outputs. 

1 ACCEPTED SOLUTION

Accepted Solutions
collinelliot
Barite | Level 11

Attribute maps are what you're going to need. Here's another post that gives an example. The specifics are going to change depending on your data and what attributes you want to change, but this should get you started.

 

https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/PROC-SGPLOT-Change-Symbol-for-Grouped-Data...

View solution in original post

1 REPLY 1
collinelliot
Barite | Level 11

Attribute maps are what you're going to need. Here's another post that gives an example. The specifics are going to change depending on your data and what attributes you want to change, but this should get you started.

 

https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/PROC-SGPLOT-Change-Symbol-for-Grouped-Data...

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
  • 1 reply
  • 881 views
  • 0 likes
  • 2 in conversation