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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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