Date: Fri, 29 Jul 2005 08:36:26 -0700
Reply-To: nevin.krishna@GMAIL.COM
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: nevin.krishna@GMAIL.COM
Organization: http://groups.google.com
Subject: legend for 2 lines :gplot
Content-Type: text/plain; charset="iso-8859-1"
Hello all,
I am using sas 9 to plot two lines using gplot. i am trying to create a
legend which defines both lines..the problem is,when i run the
following code, only one line legend appears..how can i do this so that
one legend appears right abover the other? do i even need the legend
two statement?
Legend1 label=(height=1 position=top justify=center 'Legend')
value=('IVW_sentence') across=1 down=3 position = (top left inside)
mode=protect;
Legend2 label=(height=1 position=top justify=center 'Legend')
value=('IVW_QSLD') across=1 down=8 position = (top left inside)
mode=protect;
symbol1 color=red v=star i=join;
symbol2 color=green v=circle i=join;
axis1 label=('Sentences') value=(h=1);
axis2 value=(h=1) order = ( -35,0,35 );
axis3 value=(h=1) order = (-19.8,0,19.8);
proc gplot data= plot_data;
plot word_qsld*sentence /caxis=red
haxis=axis1 hminor=0
vaxis=axis2 vminor=1
overlay frame legend=legend1;
plot2 ivw_qsld*sentence / caxis=red
vaxis=axis3
vminor=1 overlay frame legend=legend2;
run;
quit;
|