BookmarkSubscribeRSS Feed
asmits
Calcite | Level 5
Hi,
I am trying to find a way to have axis labels defined by a variable in my data set. I want to plot lab values of different tests that have different units in one GTL template so I my axis label to reflect this. Any ideas?
Thanks,
Alain
3 REPLIES 3
DanH_sas
SAS Super FREQ
Hey Alain,

I have an example an example of doing something very similar to this in my paper "Secrets of the SG Procedure". Look at the section called "Paneled Plots with Different Data Range" starting at the end of page 9. The example on page 10 seems to be what you want. Let me know if this works for you.

Thanks!

paper: http://support.sas.com/resources/papers/proceedings09/324-2009.pdf Message was edited by: DanH@sas
asmits
Calcite | Level 5
Hi Dan,

Many thanks, I came across your example and I agree it is a work around. Any idea if Phase 2 will offer more possibilities of using variables in text entries or labels?

Thanks,
Alain
DanH_sas
SAS Super FREQ
Currently, the only variables you can use in an ENTRY statement or axis label are variables that are part of expressions that return a scalar value, such as eval(mean(weight)). If there is additional functionality you need in this area, you may want to call Technical Support and describe the new functionality you need to them.

Thanks!

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
  • 3 replies
  • 1320 views
  • 0 likes
  • 2 in conversation