Usage
colPointsHist(z, nbins=40, colors=rainbow2(nbins),
bb=seqR(z, length.out=nbins+1), at=pretty2(z), labels=at, bg="white",
x=0:40, y=0:30, x1,y1,x2,y2, mar=c(6, 7, 3, 2), mgp=c(1.8, 0.6, 0),
sborder=NA, resetfocus=TRUE, breaks=20, freq=TRUE, col=par("fg"),
border=NA, main="", ylab="", xlab="", las=1, axes=TRUE, ...)
Arguments
nbins
Number of classes (thus, colors). DEFAULT: 40
colors
Colors that are used for the background. DEFAULT: rainbow2(nbins)
bb
Borders of bins for the background. DEFAULT: seqR(z, length.out=nbins+1)
at
Positions of x-axis labels. DEFAULT: pretty2(z)
labels
X-axis labels themselves. DEFAULT: at
bg
Background behind background and axis labels. DEFAULT: "white"
x, y
Relative coordinates (0:100) of inset plot, see smallPlot
. DEFAULT: 0-30, 0-40 x1,y1,x2,y2
Positions of topleft and bottomright corner. Replaced with x,y, kept here for backcompatibility.
mar
Margins for smallPlot
in relative values (0:100). DEFAULT: c(6, 7, 3, 2) mgp
MarGinPlacement: distance of xlab/ylab, numbers and line from plot margin, as in par
, but with different defaults. DEFAULT: c(1.8, 0.6, 0) sborder
Border around inset subplot. DEFAULT: par("fg")
resetfocus
Reset focus to original plot? Specifies where further low level plot commands are directed to. DEFAULT: TRUE
breaks
Breaks as in hist
, but with a different default. DEFAULT: 20 freq
Plot count data in hist? (if FALSE, plot density instead). DEFAULT: TRUE
col
Color of histogram bars. DEFAULT: par("fg")
border
Border around each bar. DEFAULT: NA
main, ylab, xlab
Labels. DEFAULT: ""
las
LabelAxisStyle. DEFAULT: 1
axes
Draw axes?. DEFAULT: TRUE
...
Further arguments passed to hist
. NOT POSSIBLE: x, add