Re: [R] figure with inset

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Tue 06 Dec 2005 - 20:53:58 EST

Pascal.Niklaus@unibas.ch wrote:

> I am trying to plot a figure within a figure (an inset that shows a closeup of
> part of the data set). I have searched R-help and other sources but not found a
> solution.

See the examples on the grid package by Paul Murrel in R News.

Uwe Ligges

> What I would like to do is
>
> (1) produce a plot
> (2) specify a window that will be used for the next plot (in inches or using the
> coordinate system of the plot produced in (1)
> (3) overlay a new plot in the window specified under (2)
>
> The result would be:
>
> +----------------------+
> | |
> | first plot |
> | +--------+ |
> | | inset | |
> | +--------+ |
> | |
> +----------------------+
>
> Thank you for your help
>
> Pascal
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Dec 06 21:08:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:29 EST