Description Usage Arguments Note Author(s) See Also Examples
Draws a scatter chart. This is another chart "primitive", since it only contains a set of sensible defaults.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
x |
data for the x axis, can take matrix,vector, or timeseries |
y |
data for the y axis, can take matrix,vector, or timeseries |
reference.grid |
if true, draws a grid aligned with the points on the x and y axes |
main |
set the chart title, same as in |
ylab |
set the y-axis label, as in |
xlab |
set the x-axis label, as in |
xlim |
set the x-axis limit, same as in |
ylim |
set the y-axis limit, same as in |
colorset |
color palette to use, set by default to rational choices |
symbolset |
from |
element.color |
provides the color for drawing chart elements, such as the box lines, axis lines, etc. Default is "darkgray" |
cex.axis |
The magnification to be used for axis annotation relative to
the current setting of 'cex', same as in |
cex.legend |
The magnification to be used for sizing the legend relative to the current setting of 'cex'. |
cex.lab |
The magnification to be used for x- and y-axis labels relative to the current setting of 'cex' |
cex.main |
The magnification to be used for the main title relative to the current setting of 'cex'. |
... |
any other passthru parameters |
Most inputs are the same as "plot
" and are principally
included so that some sensible defaults could be set.
Peter Carl
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.