BookmarkSubscribeRSS Feed
christyh
Calcite | Level 5
Hi there,

I'm trying to plot 3 variables:

PLOT Observation * Date =assistance

The assistance data values are longer than 32 characters and I want them all in my legend. However, I'm getting the following message in the log:

NOTE: Value of IDVAR(Assistance) truncated to 32 characters

Is there any way to get around this?

Thanks,
Christy
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
This Tech Support note explains that the value is truncated to 32 characters:
http://support.sas.com/kb/00/807.html

cynthia
Jay54
Meteorite | Level 14
If you are using SAS 9.2, you could try using the SGPLOT procedure. See attached program.


data longgroupvalues;
set sashelp.cars;
length origin1 $65;
label origin1='Country of Origin';

select (origin);
when('USA') origin1='United State Of America, Land of the Free and Home of the Brave';
when('Europe') origin1='Europe, The Olde World';
when('Asia') origin1='Mostly East Asia and Pacific Coast Countries';
end;
run;
/*proc print data=longgroupvalues; run;*/

ods html;
title 'Fit plot with Long Group Values';
proc sgplot data=longgroupvalues;
reg x=horsepower y=mpg_city / group=origin1 degree=2;
xaxis grid;
yaxis grid;
run;
ods html close;

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!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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