SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 43365: Overlay multiple histograms and density curves in a single cell using PROC SGPLOT

DetailsCodeResultsAboutRate It
The sample code on the Full Code tab uses the SAS® 9.3 BINSTART and BINWIDTH options in the HISTOGRAM statement in PROC SGPLOT to control the X coordinate of the first bin and the bin width, respectively. This sample overlays two histograms and two normal density curves in the same graph cell.


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.