gplot.histogram | R Documentation |
These are methods for objects of class "histogram
", typically
produced by ghist
.
## S3 method for class 'histogram'
gplot(
x,
freq = equidist,
density = NULL,
angle = 45,
col = "white",
border = par("fg"),
lty = NULL,
main = paste("Histogram of", paste(x$xname, collapse = "\n")),
sub = NULL,
xlab = x$xname,
ylab,
xlim = range(x$breaks),
ylim = NULL,
axes = TRUE,
labels = FALSE,
add = FALSE,
ann = TRUE,
grid = TRUE,
col.grid = "grey90",
col.acc = "white",
...
)
x |
a |
freq |
logical; if |
angle, density |
select shading of bars by lines:
see |
col |
a colour to be used to fill the bars. The default has been
changed from |
border |
the color of the border around the bars. |
lty |
the line type used for the bars, see also |
main, sub, xlab, ylab |
these arguments to |
xlim, ylim |
the range of x and y values with sensible defaults. |
axes |
logical, indicating if axes should be drawn. |
labels |
logical or character. Additionally draw labels on top of bars,
if not |
add |
logical. If |
ann |
logical. Should annotations (titles and axis titles) be plotted? |
grid |
logical; if |
col.grid |
|
col.acc |
|
... |
further graphical parameters to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.