View source: R/plot.growthDist.R
plot.growthDist | R Documentation |
Plots a map of growthDist
object.
## S3 method for class 'growthDist'
plot(
X,
...,
growth.types = NULL,
sample.name = "keep",
main.type = "all",
color.palette = NULL,
highlight.gbs = NULL,
highlight.col = "red"
)
X |
|
... |
Arguments to be passed to other methods, such as graphical parameters. |
growth.types |
A character vector specifying the names of growth axes to be plotted. If |
sample.name |
A character argument specifying the sample name to be plotted as an overall title for the plot ( |
main.type |
A character argument with four possible levels ( |
color.palette |
Not implemented. |
highlight.gbs |
A character vector specifying the names of growth bands to be highlighted (i.e. colored with a different color than "darkgrey"). If |
highlight.col |
A character argument specifying the color to be used in growth band highlighting ( |
The sclero package currently uses the graphics package distributed with R for plotting (see plot
). Plotting sample maps is carried out by the sclero:::samplemap
function, which works as an internal function and therefore has not been exported. Users willing to modify sclero plots beyond the flexibility allowed by the plot.rawDist
function are instructed to modify the samplemap
function, which consists of standard R graphics syntax.
Because the function plots a sample map, the aspect ratio is forced to 1 and cannot be changed. If this causes troubles when trying to set the axis limits (ylim
and xlim
), try resizing the graphics window.
Mikko Vihtakari
growth.dist
for calculation of growth distances.
plot.default
and other methods; points
, lines
, par
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.