Graphics Applications White Papers

LEGEND Options Using Multiple Plot Statements in PROC GPLOT

Overview A graph with both left and right vertical axes is easy to construct using SAS/GRAPH PROC GPLOT with multiple plot statements. Producing a correct legend requires some additional coding. Options for creating the legend are provided in this paper. Using the LEGEND statement requires an extraneous plot be hidden, thus providing information for the legend. This option is useful if one can hide a symbol within a symbol (i.e., dashed line and solid line or circle and dot). Another option is to use the FOOTNOTE statement to simulate a legend. For this option to work, symbols used in the graph must be reproduced in the footnote legend.

Further White Paper Details
PublisherSAS Institute File FormatPDF
Date PublishedMarch 2000 Downloads2
FormatWhite Papers   
Topics
  • Featured White Papers
Thin clients switch on digitally excluded

Thin clients switch on digitally excluded

Case study: Digital inclusion project tackles social exclusion in Liverpool more

Renault goes multilingual

Renault goes multilingual

Case study: Translation tech turns docs into 23 languages… more


Quick Sitemap Links: