gonum / gonum/plot

plotter: Add capability for colored scatter plots

Open
#195 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

Feature request for having a plotter where data points are {x,y,z} values and the z values are plotted according to color. Scatter plots are useful when the data is not evenly spread throughout the space (so generating a grid for a heat-map is difficult), or when there is noise in the data, so there isn't really a 'surface' to plot.

All of the parts for colored-scatter exist. We can already plot 3-D scattered data where the glyph varies with the third dimension (plotter.Bubbles), and we can plot 3-D data where the color varies with the third dimension (Contour). Thus, in my opinion, the benefit to providing colored scatter greatly outweighs the small marginal maintenance cost of the extra plotter.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.