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.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 1326 views
  • 3 likes
  • 2 in conversation