BookmarkSubscribeRSS Feed
kpmcgarr
Calcite | Level 5

Hello!

 

I have created a linear regression of a few thousand points, but I want to show where 15 of those points stand in relation to the regression. I was wondering if there is any way I can make these points a different color or help them stand out in any way?

 

Thanks,

 

P

2 REPLIES 2
ballardw
Super User

How did you make your current plot?

The regression procedures have varying  options to control appearance and manipulate data. You may have to export the data with the regression predicted values, assign a group variable to differentiate between the points of interest and the remainder and use another procedure such as SGplot to display the result.

Ksharp
Super User

You really should post this question into Graph forum .

 

proc sgplot data=sashelp.class;
scatter x=weight y=height/markerattrs=(size=12px symbol=circlefilled) colorresponse=age;
run;

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

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
  • 1298 views
  • 0 likes
  • 3 in conversation