I would like to make graph with only X axis without Y axis. Like this,
I tried to run this code,
datax <- c(8, 10)
datay <- c(0)
plot(datax, axes = FALSE)
minor.tick(nx = 5, ny =5, tick.ratio = 0.5)
Then the result is like this,
It is really far from my expectation. I only want to change the position of Y axis in this graph to become X axis, only display that.
Does anyone can help me how to change this?
I appreciate your help.