Data visualization with SAS programming

How to assign specific symbol, color, pattern in for different series plots in proc sgpanel

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 17
Accepted Solution

How to assign specific symbol, color, pattern in for different series plots in proc sgpanel

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. 


Accepted Solutions
Solution
‎04-10-2017 09:11 AM
Super Contributor
Posts: 284

Re: How to assign specific symbol, color, pattern in for different series plots in proc sgpanel

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


All Replies
Solution
‎04-10-2017 09:11 AM
Super Contributor
Posts: 284

Re: How to assign specific symbol, color, pattern in for different series plots in proc sgpanel

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

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 131 views
  • 0 likes
  • 2 in conversation