pywwt icon indicating copy to clipboard operation
pywwt copied to clipboard

Color-coding of points in layers

Open astrofrog opened this issue 6 years ago • 1 comments

Similar to #137, it would be nice to be able to be able to define the color-coding of points in layers by specifying a column (currently colorMapColumn) but also colorMapMin and colorMapMax such that:

colorFloat = (parseFloat(row[this.colorMapColumn]) - this.colorMapMin) / (this.colorMapMax - this.colorMapMin);

and then colorFloat would get mapped to a colormap. Until this is present in the JS, we will need to do this in Python and then update the data every time colorMapMin and colorMapMax are changed.

astrofrog avatar Nov 16 '18 18:11 astrofrog