discrete color scales

Feel free to ask any question here
Post Reply
pmr
Posts: 38
Joined: Thu Mar 04, 2021 3:38 pm

discrete color scales

Post by pmr »

Hi,
Is it possible to create a discrete color scale in CC? I mean, not a color ramp, but a set of distinct colors for integer values of the represented variable?
Thanks in advance
daniel
Site Admin
Posts: 7890
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: discrete color scales

Post by daniel »

Yes, there are similar posts on this forum. You have to trick the linear interpolation, and define 2 color steps very close for each transition:
0 --> 0.9999 in blue
1.0 --> 1.9999 in green
2.0 --> 2.9999 in orange
etc.
Daniel, CloudCompare admin
Post Reply