Skip to content

[DEVELOPMENT] Scatterplot/markers color #3

@marnec

Description

@marnec

Brief explanation
Add the ability to set the marker color in the Scatterplot

Details
Currently the color of the markers in the Scatterplot is a fixed color (green) applied to a MeshBasicMaterial. Add the ability to set a different color for the material.

In principle it would be nice to be able to pass different types of material, however most of the material capabilities of threejs are out of scope for threeplot, which should focus on producing a easily-readable, data-driven plot

Drawing a part of the dataset in a different color at the moment is not supported, but it's a desirable features. A similar result can be currently achieved by adding multiple scatterplot. At the moment of writing this would be indistinguishable from a multi-series dataset, however this is suboptimal when thinking about producing a legend.

For the time being just selecting the color would be enough, some other possible features may be:

  • draw a countour around the profile of the markers (with thickness and color options)
  • pass a gradient instead that a single color

Notes

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions