SAS Support Site Home | Samples and SAS Notes Home
SAS Notes V6-GPLOT-3831
PLOT request Y*X=n with LEGEND and OVERLAY options produces warning


If the PLOT request with PROC GPLOT is of the form Y*X=n, where n is a numeric value assigning the nth generated symbol definition, and the OVERLAY and LEGEND options are both specified, the following warning message will be issued in the SAS/Log:

    WARNING:  OVERLAY and LEGEND options specified conflicts with Y*X=n
              type plot request.  Legend is not produced for PLOT.

The LEGEND option (or LEGEND=LEGENDn) with an OVERLAY plot is only recognized when the PLOT request does not specify the symbol definition or a third variable. The following examples will produce a legend:

               PLOT Y1*X Y2*X ... Yn*X / OVERLAY LEGEND;

                                  or

               PLOT (Y Y2 ... Yn) * X / OVERLAY LEGEND;


Products: GRAPH
Component: GPLOT
Priority: MED
Status: Outstanding Problem
Date: Thu, 9 Jan 1992

System Release Reported Release Fixed
VM/ESA (CMS) 6.07 TS300 6.08  
OS/390 (MVS) 6.07 TS300 6.08  
OpenVMS VAX 6.07 TS300 6.08  

No Fixes Available