Skip to content

Question scatterplot axis cut point

2 messages · Michael Methlagl, Jim Lemon

#
Hi everybody,
i made a scatterplot using the command
plot (datafile1, xlim=c(0,10), ylim=c(0.001, 1), log="y", xlab="x Achse", ylab="y Achse", frame.plot=FALSE, axes = TRUE).
Now i  have a problem. There is a gap between the x and the y axis. I want that the x and y axis cut at 0 and 0.001 without having this gap.
Is this possible?
thanks for your help!
nice greetings michi
#
On 02/14/2012 06:19 AM, Michael Methlagl wrote:
Hi michi,
You are looking for:

par(xaxs="i",yaxs="i")
plot(...)

Jim