BookmarkSubscribeRSS Feed
Ainn_
Calcite | Level 5
Hi. I wanna ask, if anyone knows how to make the line at 2 move to 3 etc..? I've tried using the code width and height but it didn't work. And also, how do I know if it's in inch or cm or etc? I hope someone can answer my question asap. Thanks!! Btw I'm using SAS Enterprise Guide.
4 REPLIES 4
Reeza
Super User
Default plots are difficult to change, especially the one shown. Instead, pipe the output to a data set and recreate the plot using SGPLOT.
The plot shown is a combination of SCATTER and REFLINE statements.
Ainn_
Calcite | Level 5

Thanks for your reply but what do you mean by recreating the plot using sgplot? How do I do that?

Reeza
Super User
To me, that looks like a default plot from a procedure, regression? I would capture the raw data into a data set from the procedure likely use ODS OUTPUT statements and then use SGPLOT to manually recreate the graphic. Since you haven't shown how the plot was created that's as specific as I can get.
Kemal_Sozer
Fluorite | Level 6

If you create this graph under an analysis and graph outputs are selected you can not modify graphs statistical cutoff lines in SAS EG. But mentioned sgplot is a code process and you can try create the graph specifically using with your output data. 

But on the task menus left corner there is a "preview code" button and you can add some limited code to related area. If you send a picture of your task menu and explain which task do you use we can help about it.

Best,

Kemal.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 4 replies
  • 947 views
  • 0 likes
  • 3 in conversation