Description Usage Arguments Value Author(s) See Also Examples
Draw a scatterplot with images patches as placeholders for the points.
1 |
data |
nx2 matrix of points positions in the 2D space. |
patches |
rgbpatch object, with n rows in each channel specifying n elements. The values of a row-element are mapped to pixel intensities. Patch width is deduced from patchNpix argument. |
patchSize |
patch size as a ratio of the whole window. |
alpha |
If highlight is empty, this is the alpha value for all patches. Else if a set is highlighted, highlighted elements have this alpha value, and other elements have alpha/20. |
patchNpix |
expected size of the image patches sides. Should match the specification of patches object. |
highlight |
numeric vector taking values in 1..n, indicating elements in data to highlight. Patches are associated to alpha=1 if highlighted, 0.04 if not. If no highlight is specified, all patches have alpha=1. |
labels |
text labels associated to highlighted elements. Defauts to "1" for all highlighted elements. |
NULL
Pierrick Bruneau
drawSinglePatch drawGradient
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.