even display of unevenly spaced numbers on x/y coordinates
Dear all,
please would you advise on how I could make an even display of unevenly spaced number on a graph in R. For example, considering the code below :
BREAKS = c(0, 0.1, 1, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500)
a <- seq(0,100,0.1)
b <- seq(0,1000,0.1)
plot(ecdf(a), col="red", xlim=c(0,100), main=NA, breaks=BREAKS)
plot(ecdf(b), col="green", xlim=c(0,100), add=T, breaks=BREAKS)
I would like to show on X axis (0, 0.1, 1 and 10) spaced in an equal/even manner.
thanks !
bogdan
• 700 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Hello Bogdan!
We believe that this post does not fit the main topic of this site.
This is strictly R. Please search/ask StackOverflow
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!