Skip to content
Prev 239370 / 398500 Next

Zoom in in a plot

Hi Alex,

After you have created the plot I do not know of a way to zoom (in
base graphics), but you can always use the xlim and ylim arguments to
focus on a particular area (or effectively zoom) when you are create
the plot.  For instance,


plot(x = 1:10, y = 1:10)

plot(x = 1:10, y = 1:10, xlim = c(3, 5), y = c(4, 10))

Cheers,

Josh
On Tue, Oct 26, 2010 at 8:30 AM, Alaios <alaios at yahoo.com> wrote: