Description Usage Arguments Details Value Methods Note See Also Examples
Produces a line/scatter plot where each point or group of related points has a unique color or where sections along a line have different colors.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31  colorPlot(x, y, color, Plot = list(), yaxis.log = FALSE,
yaxis.rev = FALSE, yaxis.range = c(NA, NA), xaxis.log = FALSE,
xaxis.range = c(NA, NA), ylabels = 7, xlabels = 7, xtitle = "",
ytitle = "", caption = "", margin = c(NA, NA, NA, NA), ...)
## S4 method for signature 'numeric,numeric'
colorPlot(x, y, color, Plot = list(name = "Auto",
what = "points", symbol = "circle", filled = TRUE, size = 0.09, color =
"Auto", groups = 4, ramp = "greenRed"), yaxis.log = FALSE,
yaxis.rev = FALSE, yaxis.range = c(NA, NA), xaxis.log = FALSE,
xaxis.range = c(NA, NA), ylabels = 7, xlabels = 7,
xtitle = deparse(substitute(x)), ytitle = deparse(substitute(y)),
caption = "", margin = c(NA, NA, NA, NA), ...)
## S4 method for signature 'Date,numeric'
colorPlot(x, y, color, Plot = list(name = "Auto",
what = "lines", symbol = "circle", filled = TRUE, size = 0.09, color = "Auto",
groups = 10, ramp = "greenRed"), yaxis.log = FALSE, yaxis.rev = FALSE,
yaxis.range = c(NA, NA), xaxis.log = FALSE, xaxis.range = range(x, na.rm
= TRUE), ylabels = 7, xlabels = "Auto", xtitle = "",
ytitle = deparse(substitute(y)), caption = "", margin = c(NA, NA, NA,
NA), ...)
## S4 method for signature 'POSIXt,numeric'
colorPlot(x, y, color, Plot = list(name = "Auto",
what = "lines", symbol = "circle", filled = TRUE, size = 0.09, color = "Auto",
groups = 10, ramp = "greenRed"), yaxis.log = FALSE, yaxis.rev = FALSE,
yaxis.range = c(NA, NA), xaxis.log = FALSE, xaxis.range = range(x, na.rm
= TRUE), ylabels = 7, xlabels = "Auto", xtitle = "",
ytitle = deparse(substitute(y)), caption = "", margin = c(NA, NA, NA,
NA), ...)

x 
the xaxis data 
y 
the yaxis data 
color 
the colors or a class to set colors, must match the length of

Plot 
tagged list of control parameters of the plot: 
yaxis.log 
logical, if 
yaxis.rev 
logical, if 
yaxis.range 
set the range of the yaxis. See Details. 
xaxis.log 
logical, if 
xaxis.range 
set the range of the xaxis. See Details. 
ylabels 
set up yaxis labels. 
xlabels 
set up xaxis labels. 
xtitle 
the xaxis title (also called xaxis caption). 
ytitle 
the yaxis title (also called yaxis caption). 
caption 
the figure caption. 
margin 
set the plot area margins, in units of lines of text. Generally
all NA or the output from 
... 
arguments for specific methods. 
For linear axes, the range can be set to virtually any pair of values. For log axes, the choice of range is more resticted—for less than one logcycle, powers of whole numbers can be used; from 1 to about 3 log cycles, the choces should be powers of 3 or 10; and for more than 3 log cycles, the range sould be expressed only in powers of 10.
Added from smwrGraphs.
Information about the graph.
Typically used to create a colored scatter plot for numeric x and y data.
Can be used to create a hydrograph where the line is colored by a third variable, or a colored scatter plot over time.
Can be used to create a hydrograph where the line is colored by a third variable, or a colored scatter plot over time.
A call should be made to setPage
to set up the graphics
environment before calling colorPlot
.
1 2 3 4 5 6 7 8 9 10 11 12 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.