home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / bit / listserv / sasl / 3794 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.1 KB

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