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

I am creating a scatter plot of the number of a certain type of program in a state (x axis) and average mental health (y axis) by state. Here is the plot I currently have using proc sgplot:

joachimg_0-1767820154608.png

I would like it to be so that the data labels (the state abbreviations) ARE the markers, instead of having the markers and the labels. Is this possible? Let me know if I can provide more details. Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2
Quentin
Super User

Look into the markerchar option.


There are examples in this thread:

https://communities.sas.com/t5/Graphics-Programming/PROC-SGPLOT-use-JITTER-option-with-MARKERCHAR-op...

The Boston Area SAS Users Group is hosting free webinars!

Register now at https://www.basug.org/events.
joachimg
Obsidian | Level 7

I love a simple solution! Thank you so much! 🙂

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 882 views
  • 1 like
  • 2 in conversation