Subscribe Bookmark RSS Feed

How can i overlay standard deviations onto a histogram?

djgomes1120

Community Member

Joined:

Mar 2, 2016

I'm trying to overlay a normal distribution with standard deviations from the mean onto a histogram. Attached as an example of something similar to what I'd like to create.

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

You can do what you are asking using the axis settings.

  1. Create your histogram
  2. Right click on the axis and select "axis settings..."  In the lower right of the settings dialog there is an area called "reference lines." 
  3. Select the check box labeled "allow ranges."
  4. For +1 Std Dev you would enter the mean of the distribution in the min value field, and the std deviation value in the max value field.
  5. Give it a label and pick a color you like.  The percentage field beside the color field adjusts the transparency of the range marker that will appear.
  6. Click add to get a preview of what it will look like at the bottom of the dialog menu.
  7. Repeat with any other ranges you want.
  8. Click OK

Best,

M

11094_Distribution.png

1 REPLY
Solution

You can do what you are asking using the axis settings.

  1. Create your histogram
  2. Right click on the axis and select "axis settings..."  In the lower right of the settings dialog there is an area called "reference lines." 
  3. Select the check box labeled "allow ranges."
  4. For +1 Std Dev you would enter the mean of the distribution in the min value field, and the std deviation value in the max value field.
  5. Give it a label and pick a color you like.  The percentage field beside the color field adjusts the transparency of the range marker that will appear.
  6. Click add to get a preview of what it will look like at the bottom of the dialog menu.
  7. Repeat with any other ranges you want.
  8. Click OK

Best,

M

11094_Distribution.png