allow setting seriestype to something besides steppost.
if seriestype is not steppost, don't plot the extra point on the x-axis.
don't plot non-unique points. e.g., when plotting the ECDF of a Binomial(50, 0.1) sample, at most 51 points should be plotted, but previously it plotted length(x) points.
allow specifying maximum number of points to plot, which is important when the sample is very large.
This PR makes several improvements to
ecdfplot
:seriestype
to something besidessteppost
.seriestype
is notsteppost
, don't plot the extra point on the x-axis.Binomial(50, 0.1)
sample, at most 51 points should be plotted, but previously it plottedlength(x)
points.