Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotter: Add capability for colored scatter plots #195

Open
btracey opened this issue Apr 16, 2015 · 2 comments
Open

plotter: Add capability for colored scatter plots #195

btracey opened this issue Apr 16, 2015 · 2 comments

Comments

@btracey
Copy link
Member

btracey commented Apr 16, 2015

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.

@drgrib
Copy link

drgrib commented Apr 14, 2017

Sad to see this was posted 2 years ago. But, I agree as I posted in #345. The HeatMap requires us to interpolate values and associate them with a grid. A palette colored scatter plot allows us to freely assign x / y values in continuous space colored by a z value.

@kortschak
Copy link
Member

This is a straightforward plotter to write; take the codewalk shown for Bubbles and instead of setting the radius, set the colour based on a colour interpolation as done in HeatMap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants