matlab - Changing colorbar numbers -


i have dataset has scatter3 plot matrix colourspace ranging between -2.5 , 0. blue part of colourspace associated values lower therefore -2.5. ok.

i able edit colorbar can change value associated ends of colourbar manually. on figure can set -2.5 0 , 0 2.5. changes need cosmetic only.

is there way of doing using caxis command?

thanks!

here example in same kind,

set cbtics ("-2.5" -2.5, "-1.5" -1.5, "0" 0, "1.5" 1.5, "2.5" 2.5) set palette defined (-2.5 "color1", -1.5 "color1", -1.5 "color2", 0 "color2", 0 "color3", ...) plot data 

note:- each color repeat twice 1 starting , ending.


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -