BookmarkSubscribeRSS Feed
djbateman
Lapis Lazuli | Level 10

I am using SGPLOT, and I see that the values on the y-axis default to right justification.  Is it possible to change the justification to left?

1 REPLY 1
Jay54
Meteorite | Level 14

I cannot think of a simple option to do this with SGPLOT even with the latest release (SAS 9.4M2).  GTL does have such an option at SAS 9.4 (TickValueHAlign). Similar option is coming in SG with SAS 9.4M3 (called ValuesHAlign).  If you have SAS 9.3 or later, you can use Annotate to do this using the TEXT function.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1 reply
  • 1546 views
  • 3 likes
  • 2 in conversation