I am trying to plot a simple scatter plot like this:
The minimal code I am using for generating this plot is as follows:
ggplot(fig1c, aes(x=xvar, y=yvar)) +
scale_x_log10(breaks=unique(fig1c$xvar)) +
scale_y_continuous(breaks=seq(0, 10, by=1), labels=as.character(seq(0, 10, by=1))) +
geom_point(aes(fill=Method, color=Method, shape=Method), size = 5, guides=FALSE) +
scale_colour_brewer(palette="Set1") +
geom_line(aes(fill=Method, color=Method)) +
What I would like to achieve is to have all the points on the x axis (5884, 13957, ...) equally spaced. I.e. I want a break between point 5884 and 13957 to be the same size as between 13957 and 21013, and so on. Any help?
Thank you