[R] Coordinates of the current plot

Duncan Murdoch murdoch at stats.uwo.ca
Tue Sep 22 18:26:08 CEST 2009


On 9/22/2009 11:04 AM, petr at orbit.umbr.cas.cz wrote:
> Hi,
> Is is possible to obtain/ get coordinates of the current graphics? I am using
> plot function for hclust object and I want to add some additional graphics
> but I cannot figure out what  ylim and xlim is used for actual ploting of
> tree. I know that I can probably used ploting of dendrogram instead but I
> need to use hclust class since it better manage the huge amount data I
> p[lotting. thanks for help

See ?par.  You want par("usr").

Duncan Murdoch




More information about the R-help mailing list