Color scale editor acting different in negative and positive

Feel free to ask any question here
Post Reply
boocaj
Posts: 7
Joined: Tue Aug 23, 2022 3:02 pm

Color scale editor acting different in negative and positive

Post by boocaj »

It may seems like a stupid question, but I've been working on this for more than an hour now and I can't figure out how to solve it.

I want to create a color scale that colors the points in white between -0.05(m) to 0.05 and than gradually evolve from blue to purple between -0.05 to -5 and from yellow to red between 0.05 to 5. So I've tried this in the color scale editor (see attach image), but I don't get why the blue continue until reaching 0 while the yellow does not. As you can see on the image, the yellow stops at 0.10 (like I want), but the blue does not stop at -0.10. It slowly degrade with paler blue until it reaches 0.0.

Why is the color scale not acting the same in the positive and the negative? And is there any way to edit a color scale like I want?

Thanks in advance,
Jacob
Attachments
Color scale editor.JPG
Color scale editor.JPG (107.41 KiB) Viewed 639 times
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Color scale editor acting different in negative and positive

Post by daniel »

Would you be able to save your current color scale as an xml file (with the small floppy icon) and send it to me? (admin [at] cloudcompare.org)
Daniel, CloudCompare admin
boocaj
Posts: 7
Joined: Tue Aug 23, 2022 3:02 pm

Re: Color scale editor acting different in negative and positive

Post by boocaj »

Hi, I found why it was doing this. I extended the color scale editor window too big so it kind of shrinked the scale. If I down size it a bit, it is all good.
Thanks!
Post Reply