Data visualization with SAS programming

SAS GRAPH GTL

Reply
Contributor
Posts: 50

SAS GRAPH GTL

I am using SAS 9.4 M3! I am trying to plot scatter plot in which there are many subjects having concentration =0 . Is there any way I increase the marker size based on the number of subjects at the same concentration level!

 

 

Super User
Posts: 19,167

Re: SAS GRAPH GTL

Bubble Plots
SAS Super FREQ
Posts: 925

Re: SAS GRAPH GTL

You can use the SIZERESPONSE option on the SCATTERPLOT to control the size of the markers based on a numeric variable. there are also SIZEMIN and SIZEMAX options you can use to control the sizing limits.

Contributor
Posts: 50

Re: SAS GRAPH GTL

Thanks Dan!

SIZERESPONSE is for the numeric value  as you said

For Example

scatterplot x=visit y=pcvalue

If I use the SIZERESPONSE = PCVALUE then size of the marker would be based on the value!

What I am looking for is if there are, for example 10 subjects with PCVALUE=100 the current plot is not able to distinguish between one subject and multiple although it looks more thicker!

I explored the JITTER option but not nice ! I just want to control the size based on subjects!

Is there any trick here?

Thanks for all the help!

Super User
Posts: 11,134

Re: SAS GRAPH GTL

Summarize the data so you have a single size value for each plotted point perhaps.

Ask a Question
Discussion stats
  • 4 replies
  • 388 views
  • 2 likes
  • 4 in conversation