| Date: | Thu, 18 Jan 2007 14:03:27 +0000 |
| Reply-To: | toby dunn <tobydunn@HOTMAIL.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | toby dunn <tobydunn@HOTMAIL.COM> |
| Subject: | Re: put value of variables in title of plot |
|
| In-Reply-To: | <1169103868.865459.245900@v45g2000cwv.googlegroups.com> |
| Content-Type: | text/plain; format=flowed |
|---|
Sue ,
Look up in the help docs byvar and byval along with the nobyline option
Toby Dunn
To sensible men, every day is a day of reckoning. ~John W. Gardner
The important thing is this: To be able at any moment to sacrifice that
which we are for what we could become. ~Charles DuBois
Don't get your knickers in a knot. Nothing is solved and it just makes you
walk funny. ~Kathryn Carpenter
From: sue <sue.middleton@ADELAIDE.EDU.AU>
Reply-To: sue <sue.middleton@ADELAIDE.EDU.AU>
To: SAS-L@LISTSERV.UGA.EDU
Subject: put value of variables in title of plot
Date: Wed, 17 Jan 2007 23:04:28 -0800
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?
_________________________________________________________________
Get in the mood for Valentines’ Day. View photos, recipes and more on your
Live.com page.
http://www.live.com/?addTemplate=ValentinesDay&ocid=T001MSN30A0701
|