Skip to content
Prev 167857 / 398502 Next

blowup portion of graph beside it

Here is one way:

tmpmat <- cbind( c(1,1), c(1,1), c(2,3) )
layout(tmpmat)

with(iris, plot(Sepal.Width, Sepal.Length, col=c('red','green','blue')[Species]))
with(iris, plot(Sepal.Width, Sepal.Length, col=c('red','green','blue')[Species],
			xlim=c(2.5,3), ylim=c(6,6.5)))
with(iris, plot(Sepal.Width, Sepal.Length, col=c('red','green','blue')[Species],
			xlim=c(2.5,3.5), ylim=c(4.5,5.5)))

If that is not what you want, then give more detail so we can help better.