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

I'm using proc sgpanel to create a scatterplot. There is a grouping variable, and I'd like one group (starfilled) to have bigger markers than the other group (circlefilled). Does anyone know how to do this? I can't find a styleattrs or markerattrs option for this. 

 

proc sgpanel data=have noautolegend;
  styleattrs datasymbols=(circlefilled starfilled);
  panelby visit / columns=3 novarname; 
  scatter x=xval y=yval / group=Group colorresponse=z;
run; 
1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Look at DATTRMAP in the documentation.

It is a special helper data set that allows you to set properties for group variables such as marker and marker size based on the values.

 

 

Or search the Graphics Programming section of the forum for DATTRMAP for some examples.

View solution in original post

2 REPLIES 2
ballardw
Super User

Look at DATTRMAP in the documentation.

It is a special helper data set that allows you to set properties for group variables such as marker and marker size based on the values.

 

 

Or search the Graphics Programming section of the forum for DATTRMAP for some examples.

nvid
Calcite | Level 5

That worked!! Thank you so much

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 2 replies
  • 1054 views
  • 0 likes
  • 2 in conversation