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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 907 views
  • 0 likes
  • 3 in conversation