Hi I have a sample of data and I need to generate Empirical distribution plot. That's easy u=c(1,2,2,3,4,2,1,3,4,5,6,2) h=ecdf(u) plot(h,verticals=TRUE,lwd=2) But i need P axis to be X. (horizontal) instead of Y as it is by default....So basically I need to flip the graph.. Please help