Hello statalisters
I am ploting the empirical cdf of my data using distplot. I would like to truncate the plot, since the data are distributed with a long right tail and I'm not interested in that part of the distribution. I've tried doing this with the following command:
However this only restricts the ticks on the axis, and not the length of the axis, or the range of values, for which the empirical cdf is plotted, which clearly still range over (0, 150) . What have I done wrong?
Thanks
I am ploting the empirical cdf of my data using distplot. I would like to truncate the plot, since the data are distributed with a long right tail and I'm not interested in that part of the distribution. I've tried doing this with the following command:
Code:
distplot hh_land if year == 2014 , xlabel(0(2)46) xscale(range(0 46) noextend)
However this only restricts the ticks on the axis, and not the length of the axis, or the range of values, for which the empirical cdf is plotted, which clearly still range over (0, 150) . What have I done wrong?
Thanks
Comment