display.histo {espadon} | R Documentation |
Display of the counts of a histogram
Description
The display.histo
function displays the counts of
"histo" class object.
Usage
display.histo(
histo,
add = FALSE,
xgrid = TRUE,
ygrid = TRUE,
MC.plot = FALSE,
MC.col = grey.colors(4, rev = TRUE),
...
)
Arguments
histo |
"histo" class object. |
add |
Boolean indicating whether to display the background image. |
xgrid |
Boolean indicating the display of the x grid. |
ygrid |
Boolean indicating the display of the y grid. |
MC.plot |
Boolean. If |
MC.col |
Character string, a valid palette with 4 colours corresponding to 100%, 95%, 50% and median of MC data. |
... |
Additional arguments xlab, ylab, xlim, ylim, main, type, col, lwd, lty and log managed by the plot function. |
Value
Returns a plot of the counts included in histo
, with its median,
and the quantile areas (0%-100%), (2.5%-97.5%) and (25%-75%) of the histo$counts
variations, if they exist.
See Also
Examples
# loading of toy-patient objects (decrease dxyz for better result)
step <- 3
patient <- toy.load.patient (modality = "ct", dxyz = rep (step, 3))
CT <- patient$ct[[1]]
# histogram and display
H <- histo.vol (CT, breaks = seq (3, ceiling (CT$max.pixel), 1),
alias = "CT_hist")
display.histo (H, log = "y", lwd = 2)