It certainly is! Thank you. Cheers, Mano
On Thu, Apr 23, 2015 at 12:02 AM, Rolf Turner <r.tur...@auckland.ac.nz> wrote: > On 22/04/15 22:43, Manoranjan Muthusamy wrote: > > <SNIP> > > 4. <SNIP> >> How can I show the Dirichlet tile names (i.e. 1,2,3,....,8) in the >> plot? >> > > There's no built-in way at the moment as far as I can tell. > > One way to get the tiles to be labelled/numbered in the plot would be: > > plot(dX) > text(X,labels=1:npoints(X)) > > Slightly sexier: > > cents <- as.data.frame(t(sapply(tiles(dX),centroid.owin))) > plot(dX) > text(cents,labels=1:nrow(cents)) > > Is this satisfactory? > > cheers, > > Rolf Turner > > > -- > Rolf Turner > Technical Editor ANZJS > Department of Statistics > University of Auckland > Phone: +64-9-373-7599 ext. 88276 > Home phone: +64-9-480-4619 > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.