Date: Wed, 17 Jan 2007 23:04:28 -0800
Reply-To: sue <sue.middleton@ADELAIDE.EDU.AU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: sue <sue.middleton@ADELAIDE.EDU.AU>
Organization: http://groups.google.com
Subject: put value of variables in title of plot
Content-Type: text/plain; charset="iso-8859-1"
HI all,
I make a series of plots, one for each subject, with2 lines on eah
plot.
I automatically get the subject's name in the titles.
Associated with each subject are two variables age and lq(l for
laterality quotient).
I would like to print out the value of these 2 variables for each
subject in the titles, but cant work out how.
My code:
goptions reset=all device=gif ftitle=swissb ftext=swiss htitle=2
htext=2;
title "Subject Plots ";
symbol1 i=join line=1 color=black;
symbol2 i=join v=circle line=41 color=black;
axis2 order = (0 to 8 by 2);
legend1 label=('Hands:') position=(top right inside) mode=share;
proc gplot data=sicihd;
by subject;
plot amp*trial_no=hd/legend=legend1 vaxis=axis2;
title 'AMP by trial order';
run; quit;
....... and then I run a greplay to get all the graphs together
Help please?
sue
ps while I'm at it. I'm using swiss as it seems to be the best font to
copy into word with, but its still not great. Any better suggestions?