I want to plot only data that is greater than or equal to 6 and less than or equal to 12 on the colorbar. I have written the following. But am unable to include other restrictions:
scatter(x(log_gnd>=6), y(log_gnd>=6), 5, log_gnd(log_gnd>=6));
I also want to divide the colorbar into only 4 segments.