I try to use "pointlabel" statement to point out ID # of all the outliner, but the problem is it will also list all the ID # of other non-outliner. Is there any conditional statement to control this? Thanks!
I want the scatter plot as below, outliner with ID #, non-outliner with a 'star' only.
You could create an extra variable in your data, and only populate that variable with a value for the markers you want to have text, and then specify that variable as the one for pointlabel to use.
I created a new variable for those outliner (marker=ID), and (marker='missing'), for those non-outliner. but when I use pointlabel again (pointlabel=('#marker'), yes, all Outliner are now with 'ID #', but non-outliner are now with a 'dot'.
pointlabel will still point out those missing values? how to remove these 'dot's ?
Is this variable numeric? Try it with a character variable, and rather than the sas-numeric 'missing' (which shows up as a dot) make the character variable have the value of blank.
Thanks, changed to char, and now no 'dot's thanks!
The 2025 SAS Hackathon Kicks Off on June 11!
Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.