29.2.12 Density Dots


Appendix Density Dots.png

Contents

Data Requirements

Select exactly one Y column or a range of data from one Y column. If there is an associated X column, X column supplies X values; otherwise, sampling interval of the Y column or row number is used.

Creating the Graph

  1. Select Y column data.
  2. From the menu, select Plot > Basic 2D: Density Dots.

Template

DensityDots.OTPU (installed to the Origin program folder).

Algorithm

For small data size, the exact estimation method is used to calculate kernel density.

For large data size (defined by system variable KDM, default value is 20,000), a fast algorithm is used to compute the density. First the 2D binned approximation is used to calculate kernel density for a set of 2D grid points (defined by system variable DCGS, default value is 151*151). Then 2D interpolation is applied to construct the corresponding density values for the original (x, y) points from density values of the grid.

Notes

This template is intended for plotting large numbers of scatter points, where the density of the points is of particular interest:

Page cache on off.png