Draws a scatter chart. This is another chart "primitive", since it only contains a set of sensible defaults.
chart.Scatter(
x,
y,
reference.grid = TRUE,
main = "Title",
ylab = NULL,
xlab = NULL,
xlim = NULL,
ylim = NULL,
colorset = 1,
symbolset = 1,
element.color = "darkgray",
cex.axis = 0.8,
cex.legend = 0.8,
cex.lab = 1,
cex.main = 1,
...
)
data for the x axis, can take matrix,vector, or timeseries
data for the y axis, can take matrix,vector, or timeseries
if true, draws a grid aligned with the points on the x and y axes
set the chart title, same as in plot
set the y-axis label, as in plot
set the x-axis label, as in plot
set the x-axis limit, same as in plot
set the y-axis limit, same as in plot
color palette to use, set by default to rational choices
from pch
in plot
, submit a set of
symbols to be used in the same order as the data sets submitted
provides the color for drawing chart elements, such as the box lines, axis lines, etc. Default is "darkgray"
The magnification to be used for axis annotation relative to
the current setting of 'cex', same as in plot
.
The magnification to be used for sizing the legend relative to the current setting of 'cex'.
The magnification to be used for x- and y-axis labels relative to the current setting of 'cex'
The magnification to be used for the main title relative to the current setting of 'cex'.
any other passthru parameters
# NOT RUN {
data(edhec)
chart.Scatter(edhec[,1],edhec[,2])
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab