Quantile or x-value from a plot

Everyone,
I want to have as nearly as possible x-value for every y from the plot of CDF as in code.
I tried using quantile. But, this is not satisfying to me. It will be better if I can get a continuous
plot instead of this stepwise.
Is it possible to have a vale of b=a?

I tried this

mon <- c(0,2,8,10)
cdf=ecdf(mon)
plot(cdf)  
a=6
cdf(a)
b=quantile(mon,cdf(a))

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.