plot.textstring
From spatstat v1.42-2
by Adrian Baddeley
Plot a Text String
Plots an object of class "textstring"
.
Usage
## S3 method for class 'textstring':
plot(x, \dots, do.plot = TRUE)
Arguments
- x
- Object of class
"textstring"
to be plotted. This object is created by the commandtextstring
. - ...
- Additional graphics arguments passed to
text
to control the plotting of text. - do.plot
- Logical value indicating whether to actually plot the text.
Details
The argument x
should be an object of class "textstring"
created by the command textstring
.
This function displays the text using
text
.
Value
- A window (class
"owin"
) enclosing the plotted graphics.
See Also
Examples
W <- Window(humberside)
te <- textstring(centroid.owin(W), txt="Humberside", cex=2.5)
plot(layered(W, te), main="")
Community examples
Looks like there are no examples yet.