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

Is there a simple way to add in more space on the right side of this plot? The blue shapes are kind of hard to see up against the line so I'd just like to be able to have some white space to the right of them. Anything I have found in white papers seems a little more in depth and I wanted to make sure I wasn't missing something simple before I went that route.  Thank you!

 

 

crop.png

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

In either PROC GPLOT or PROC SGPLOT, there are ways to move the data away from the right edge (and left edge) of the plot.

 

In PROC GPLOT, you would use an AXIS statement with the OFFSET= option.

 

In PROC SGPLOT, you would use OFFSETMAX and OFFSETMIN options.

--
Paige Miller

View solution in original post

3 REPLIES 3
Reeza
Super User
OFFSETMAX/MIN assuming you're using SGPLOT with an XAXIS statement.
PaigeMiller
Diamond | Level 26

In either PROC GPLOT or PROC SGPLOT, there are ways to move the data away from the right edge (and left edge) of the plot.

 

In PROC GPLOT, you would use an AXIS statement with the OFFSET= option.

 

In PROC SGPLOT, you would use OFFSETMAX and OFFSETMIN options.

--
Paige Miller
lbogar314
Obsidian | Level 7

Perfect, I knew I was missing something simple.  Thank you so much!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 1777 views
  • 3 likes
  • 3 in conversation