Graphics Programming

Data visualization using SAS programming, including ODS Graphics and SAS/GRAPH. Charts, plots, maps, and more!
BookmarkSubscribeRSS Feed
S_Proskurnin
Calcite | Level 5

Hello!

I have long tick labels and I want to split it in two rows.

SGPlot95.png

I use split-symbol "~", but I don't know where I need to choose split option. How to solve this problem?

and how to display missing values (like the second tick between "Prior~to chemo" and "1~chemo", right now I fill it with a dot)?

5 REPLIES 5
DanH_sas
SAS Super FREQ

What version of SAS are you using?

DanH_sas
SAS Super FREQ

The reason I ask about your SAS version is that we added splitting support in SAS 9.4.

S_Proskurnin
Calcite | Level 5

I use SAS 9.2 and how I understand I can't do this (split tick's names) in SGPLOT and I have to use later version of SAS or other function, that's right?

ballardw
Super User

Maybe not a pretty but Fitpolicy=Stagger on your XAXIS statement should get a useable chart.

S_Proskurnin
Calcite | Level 5

Thanks for help, but unfortunately it's not that I want.

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