plotSegments | R Documentation |
One or several plots of consecutive segments of gray matrix and smoothed grays.
plotSegments(image, ratio = NULL,
marker = NULL, col.marker = "red",
tit = TRUE, plot = TRUE,
...)
image |
character or matrix. Either path of an |
ratio |
NULL or vector with two values representing
the aspect of the plots (height, and width). If
NULL the default aspect in |
marker |
NULL or a number from 1 to 10 as explained
in |
col.marker |
color of the markers. |
tit |
logical or character. A title for the
plots. If TRUE the main title is the |
plot |
logical. If TRUE the |
... |
arguments to be passed to four functions:
|
the image
segments and a list such as that produced by
dataSegments
.
Wilson Lara <wilarhen@gmail.com> [aut, cre] (<https://orcid.org/0000-0003-3527-1380>), Carlos Sierra [aut] (<https://orcid.org/0000-0003-0009-4169>), Felipe Bravo [aut] (<https://orcid.org/0000-0001-7348-6695>)
## (not run) Read one image sample in folder of package measuRing:
image1 <- system.file("P105_a.tif", package="measuRing")
## column numbers to be included/avoided:
Toinc <- c(196,202,387,1564)
Toexc <- c(21,130,197,207,1444,1484)
##(not run) Plotting of five image segments:
plots <- plotSegments(image1,rgb=c(0.5,0,0.5),last.yr=2011,
marker=8,segs=3,inclu = Toinc,exclu = Toexc)
## plots <- plotSegments(rwidths,segs = 4,marker=8)
## (not run) kill all the image segments:
graphics.off()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.