home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!lll-winken!elroy.jpl.nasa.gov!usc!wupost!darwin.sura.net!paladin.american.edu!auvm!SWOV.NL!POPPE
- From: POPPE@SWOV.NL (Frank Poppe)
- Newsgroups: bit.listserv.sas-l
- Subject: Re: legend
- Message-ID: <01GNS2GXHL9G000A64@swov.nl>
- Date: 19 Aug 92 19:53:00 GMT
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- Reply-To: Frank Poppe <POPPE@SWOV.NL>
- Lines: 39
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- X-Organization: stichting wetenschappelijk onderzoek verkeersveiligheid SWOV
- X-Envelope-to: sas-l@AWIIMC12.BITNET
- X-VMS-To: IN%SAS
- X-VMS-Cc: POPPE
-
- >From: IMAD.GHANDOUR%MAIL.ADMIN.WISC.EDU@AWIIMC12.IMC.UNIVIE.AC.AT
- .
- >Platfotm: IBM MVS
- >Product : SAS/GRAPH
- >From : Imad Ghandour
- >Contact : imad.ghandour@mail.admin.wisc.edu
- >
- >I am trying to customize the legend when using PROC GPLOT so that
- >instead of the standard numerical legend I will have some
- >meaningful text. The following code is used:
- >
- >PROC GPLOT DATA=FINAL;
- >BY GROUP;
- >PLOT MBYTES * DATE = CAT / CAXIS=MDBLACK CTEXT=MDBLACK;
- >SYMBOL1 I=JOIN C=LTBLACK V=NONE W=2;
- >SYMBOL2 I=SPLINE C=MDBLACK V=NONE W=2;
- >SYMBOL3 I=RLCLM CV=MBBLACK CO=LTBLACK V=NONE;
- >LEGEND LABEL=NONE VALUE=(T=1 'ACTUAL' T=2 'SMOOTHED' T=3 'LIN.REG.');
- >TITLE1 'HISTORICAL DASD INFORMATION';
- >
- >The legend part is not working. Instead of having the customized
- >legend entry labels, I am getting numbers. Anyone has any idea what
- >I am doing wrong ?????
- >
- >
- >Imad Ghandour
- >University of Wisconsin - Madison
-
- My idea is that you never tell GPLOT to *use* your legend-statement.
- So I'dd add an option to your plot-statement:
- PLOT MBYTES * DATE = CAT / CAXIS=MDBLACK CTEXT=MDBLACK
- legend=legend1 ;
-
- _____________________________________________________________________________
- Frank Poppe <poppe@swov.nl> tel: +31 70 3209323
- Institute for Road Safety Research SWOV fax: +31 70 3201261
- ,,, ,, ,, ,, .... ,, ,, mail: PO Box 170
- ||,,, || || || :: :: || || 2260 AD Leidschendam
- ,,,|~ ||,'|,~ :: :' ||,~ the Netherlands
-