I want to compare two [2D scatter] plots that both have three variables (x,y,z). I'm plotting x against y and showing vector z for both plots by color. I need to make the colorbar fixed so I can compare the two plots. How can I make this colorbar range fixed for both? Thank you in advance
if truefigure pointsize = 10;scatter(x1, y1, pointsize, z1)colorbar;figure pointsize = 10;scatter(x2, y2, pointsize, z2)colorbar;end
Best Answer