Monday, March 4, 2019

Basic question on how to draw a vertical line that splits the distribution in a histogram

Hi all
I am stuck in a basic procedure with histograms and hope someone can help.

I used the following code to prepare a histogram for scaled profit that is higher than -0.3 and lower than 0.3:
Code:
hist profit if profit>-0.3 & profit<0.3, width(0.0025) freq
How can I draw a vertical line that comes from zero and hence split the distribution in the histogram ?

No comments:

Post a Comment