I have a problem in plotting uneven scale plot on x axis with R
Here is an example:
plot(1:100,1:100)
will give the equal tick space on x axis.
However, I want to show the graph with first half of space showing 1 to 10, and the left half space showing 10 to 100, so the points in the 10 to 100 more dense, and points in 1:10 are easier to see. How to do it with R?
Like this:

This is not an easy one-off task to complete. You’ll actually need to transform to the scaled data and supply custom tick marked axes. Any reason you haven’t considered simply logging the x-axis instead? (supplying the option
plot(x, y, log='x')will do that).What I think you’ve described is this: