[deutsch]

Pixel plot

These examples show how to visualize data points using pixels.

The first example shows randomly-generated data as black pixels:

This example can be extended to an adaptive histogram: The color corresponds to the count of overlapping data points within a single pixel.

For this, a color axis is necessary. Please refer to the color axis documentation for more details. The only difference in code is adding the 'count' value for the color axis data.

This final example demonstrates a case where the color is derived from the same data as the data used for the abscissa: