BookmarkSubscribeRSS Feed
Jaco_Swart
Calcite | Level 5

Hi Everyone,

 

Hope someone has a solution here, I'm working on a Forest plot, using SAS EG v9.4 and our data has very long text values. I'm using Proc Template, AXISTABLE and Proc SGRENDER to get the values into the first column. Due to the length of the data, its not displaying all the values as expected. Is there away to wrap the text on a certain split character? I've looked at split policies, splitchars but none seem to work with AXISTABLE, appreciate any input you might have.

 

Y=YVAL: The order of the text values (1-5)

VALUE = YLABEL: The text as displayed in the example

 

layout overlay / WALLDISPLAY=NONE 
                 XAXISOPTS=(DISPLAY=NONE) 
                 YAXISOPTS=(REVERSE=TRUE DISPLAY=NONE TICKVALUEATTRS=(WEIGHT=BOLD));
                 AXISTABLE Y=YVAL VALUE=YLABEL / VALUEATTRS=(SIZE=8) DISPLAY=(VALUES);
endlayout; 

 

ForestPlot.PNG

1 REPLY 1
WarrenKuhfeld
Rhodochrosite | Level 12

https://pharmasug.org/proceedings/2017/DV/PharmaSUG-2017-DV03.pdf

 

You might find the last part of this paper to be helpful.

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