Visualize multiple dimensions of a mating scene
plot3DScene(
scene,
dimension = "auto",
sub = NULL,
N = 3,
ycoord = "northing",
xcoord = "easting",
pch = 19,
pt.cex = 0.7,
label.cex = 0.7,
mt1 = "F",
mt2 = "M",
plot.lim.zoom = FALSE,
...
)No return value, called to draw a plot
a matingScene object
what dimension(s) of the mating scene should be visualized. Possible dimensions are 't' for temporal, 's' for spatial, 'mt' for mating type, and 'auto' (the default). For dimension = 'auto', all dimensions represented in the mating scene object will be plotted.
a subset of the population to plot; either a character indicating whether to subset a random sample (sub='random'), all individuals (sub='all'), or a vector containing the IDs of the individuals to subset.
if sub = 'random', the number of individuals to sample (default N = 3)
y-axis coordinate system label
x-axis coordinate system label
point type, defaults to pch = 19, solid filled in circle. If pch = NULL, individuals will be labeled by their id.
specify point expansion factor (point size relative to device default)
specify text expansion factor (text size relative to device default)
label for mating type '1', if dioecious; defaults to 'F'
label for mating type '2', if dioecious; defaults to 'M'
if TRUE, spatial plot limits for lists of scenes are set by the maximum from all scenes
optional arguments for the plot function
Amy Waananen
see generic function points for values of pch
pop <- simulateScene()
plot3DScene(pop)
Run the code above in your browser using DataLab