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.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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