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
Diamond | Level 26
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;
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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1505 views
  • 0 likes
  • 3 in conversation