The R Project SVN R

Rev

Rev 88437 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88437 Rev 89497
Line 1... Line 1...
1
% File src/library/graphics/man/plothistogram.Rd
1
% File src/library/graphics/man/plothistogram.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2025 R Core Team
3
% Copyright 1995-2026 R Core Team
4
% Distributed under GPL 2 or later
4
% Distributed under GPL 2 or later
5
 
5
 
6
\name{plot.histogram}
6
\name{plot.histogram}
7
\alias{plot.histogram}
7
\alias{plot.histogram}
8
\alias{lines.histogram}
8
\alias{lines.histogram}
Line 16... Line 16...
16
               col = "lightgray", border = NULL, lty = NULL,
16
               col = "lightgray", border = NULL, lty = NULL,
17
               main = paste("Histogram of", paste(x$xname, collapse = "\n")),
17
               main = paste("Histogram of", paste(x$xname, collapse = "\n")),
18
               sub = NULL, xlab = x$xname, ylab,
18
               sub = NULL, xlab = x$xname, ylab,
19
               xlim = range(x$breaks), ylim = NULL, log = "",
19
               xlim = range(x$breaks), ylim = NULL, log = "",
20
               axes = TRUE, labels = FALSE, add = FALSE,
20
               axes = TRUE, labels = FALSE, add = FALSE,
21
               ann = TRUE, \dots)
21
               ann = TRUE, panel.first = NULL, \dots)
22
 
22
 
23
\method{lines}{histogram}(x, \dots)
23
\method{lines}{histogram}(x, \dots)
24
}
24
}
25
\arguments{
25
\arguments{
26
  \item{x}{a \code{histogram} object, or a \code{\link{list}} with components
26
  \item{x}{a \code{histogram} object, or a \code{\link{list}} with components
Line 46... Line 46...
46
    if not \code{FALSE}; if \code{TRUE}, draw the counts or rounded
46
    if not \code{FALSE}; if \code{TRUE}, draw the counts or rounded
47
    densities; if \code{labels} is a \code{character}, draw itself.}
47
    densities; if \code{labels} is a \code{character}, draw itself.}
48
  \item{add}{logical.  If \code{TRUE}, only the bars are added to the
48
  \item{add}{logical.  If \code{TRUE}, only the bars are added to the
49
    current plot.  This is what \code{lines.histogram(*)} does.}
49
    current plot.  This is what \code{lines.histogram(*)} does.}
50
  \item{ann}{logical.  Should annotations (titles and axis titles) be plotted?}
50
  \item{ann}{logical.  Should annotations (titles and axis titles) be plotted?}
-
 
51
  \item{panel.first}{an \sQuote{expression} to be evaluated after the
-
 
52
    plot axes are set up but before any plotting takes place.  This can
-
 
53
    be useful for drawing background grids.  Note
-
 
54
    that this works by lazy evaluation: passing this argument from other
-
 
55
    functions may well not work since it may be evaluated too
-
 
56
    early.}  
51
  \item{\dots}{further \link{graphical parameters} to
57
  \item{\dots}{further \link{graphical parameters} to
52
    \code{title} and \code{axis}.}
58
    \code{title} and \code{axis}.}
53
}
59
}
54
\details{
60
\details{
55
  \code{lines.histogram(*)} is the same as
61
  \code{lines.histogram(*)} is the same as