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

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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