Date: Fri, 29 Dec 2006 20:07:23 +0100
Reply-To: Stéphane COLAS <SCOLAS@DATAMETRIC.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Stéphane COLAS <SCOLAS@DATAMETRIC.FR>
Subject: Re: legend for graphs
In-Reply-To: <7367b4e20612290946k48732e73v88e9b2b9ccb4636c@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Ok, do-it-yourself would be said ...
Stéphane.
Selon "data _null_;" <datanull@GMAIL.COM>:
> See this example from the support.sas.com
>
> /* TITLE: Replaying multiple graphs to a page with a shared/common
> TITLE and LEGEND */
>
> http://ftp.sas.com/techsup/download/sample/graph/greplay-shlegend.html
>
> Similar
>
> http://support.sas.com/ctx/samples/index.jsp?sid=430&tab=code
>
> On 12/29/06, Stéphane COLAS <scolas@datametric.fr> wrote:
> > Hi all,
> >
> > I was wondering if I missed something about the legend for graphs created
> with a
> > BY statement...
> >
> > If you generate several graphs with a BY Statement and where the differents
> > graphs use the same legend, how do you produce only one 'box' that
> represents
> > the legend?
> >
> > for instance, if you produce graphs with this code, You can see the same
> legend
> > each time.
> > The purpose on the work is to group them on a page with a proc greplay. I
> don't
> > want to produce the same legend box in each image, I want to produce only
> one
> > box.
> >
> > proc gplot data=sashelp.class uniform;
> > plot height*weight=sex;
> > by name;
> > run;
> > quit;
> >
> >
> > If the gplot is not the good proc for that, which is the more appropriate ?
> >
> > TIA.
> >
> > Stéphane.
> >
|