How to plot CCDF graph on a logarithmic scale?
问题 I want to plot a CCDF graph for some of my simulated power-law tail data on a log-log axis, below is my R code of plotting a CCDF graph on a normal axis, I used the code on the link: (How to plot a CCDF gragh?) > load("fakedata500.Rda") > x<-fakedata500 > f<-ecdf(x) > f Empirical CDF Call: ecdf(x) x[1:500] = 0.50174, 0.50307, 0.50383, ..., 81.674, 140.63 > plot(f) Below is the ECDF graph: > plot(sort(x), 1-f(sort(x)), type="s", lwd=1) and this command gives me the CCDF graph: However, I would