plot.textstring {spatstat.geom} | R Documentation |
Plots an object of class "textstring"
.
## S3 method for class 'textstring'
plot(x, ..., do.plot = TRUE)
x |
Object of class |
... |
Additional graphics arguments passed to
|
do.plot |
Logical value indicating whether to actually plot the text. |
The argument x
should be an object of class "textstring"
created by the command textstring
.
This function displays the text using
text
.
A window (class "owin"
) enclosing the plotted graphics.
Adrian Baddeley Adrian.Baddeley@curtin.edu.au, Rolf Turner rolfturner@posteo.net and Ege Rubak rubak@math.aau.dk.
W <- Window(humberside)
te <- textstring(centroid.owin(W), txt="Humberside", cex=2.5)
te
plot(layered(W, te), main="")