SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 42556: Generate a stacked area plot with PROC GPLOT

DetailsCodeResultsAboutRate It
This sample illustrates how to generate a stacked area plot with the GPLOT procedure.

You can generate a stacked area plot in which the areas are drawn cumulatively on top of each other. However, PROC GPLOT does not have the capability to sum the Y values for each area. You need to calculate the accumulated Y-axis values in a DATA step prior to creating the graph.


These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.