Learn R Programming

LSD (version 2.0)

heatscatterpoints: Heat scatter points

Description

A colored scatter plot based on a 2d density computed by kde2d to be added to an existing plot.

Usage

heatscatterpoints(x, y, pch = 19, cexplot = 0.5, ncol = 30, grid = 100, colpal = "heat", xlim = NULL, ylim = NULL, alpha = NULL, add.contour = FALSE, nlevels = 10, color.contour = "black", greyscale = FALSE, ...)

Arguments

x
x-vector
y
y-vector
pch
plotting character
cexplot
cex of the points
ncol
the number of colors to use
grid
size of the grid ( see kde2d )
colpal
which colorpalette should be chosen ( see disco() )
xlim
xlimits, standard graphics parameter
ylim
ylimits, standard graphics parameter
alpha
alpha value for color opacity
add.contour
should the contour lines be added
nlevels
number of levels of the contour lines
color.contour
color of the contour lines
greyscale
should the colorpalette be in greyscales
...
additional parameters to be passed to points and plot

See Also

heatscatter,heatpairs,LSD.demo.tour

Examples

Run this code
demo.heatscatterpoints()

Run the code above in your browser using DataLab