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

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -