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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 1322 views
  • 0 likes
  • 2 in conversation