BookmarkSubscribeRSS Feed
data_null__
Jade | Level 19

I see lots of options for fitting TICK value labels THIN STAGGER ROTATE etc.

I would like to make the tick labels on the X axis occupy two rows.

+----+----|----+----|----+----|

            10         30

            20         40

Is there a way to do this perhaps with TICKDISPLAYLIST.

1 REPLY 1
Jay54
Meteorite | Level 14

There is no way to do this with SAS 9.2 GTL or SG Procedures.  SAS 9.3 SG procedures support annotation, and you can achieve this result by drawing the ticks yourself.  See example in this paper by Dan Heath.  SAS 9.3 GTL supports DRAWTEXT statements, which you could use to draw the ticks yourself too.  You can also use these to draw the unicode or rich text.

Tick value splitting into multiple lines has been added and will be released with SAS 9.4.  You can only split text on a discrete axis, not numeric values on interval axiw.  Not much help to you now, but it is coming.  🙂

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 979 views
  • 0 likes
  • 2 in conversation