I have two seperate scatter plots, attached at the bottom you can see both scatter plots as images.
I need the coloured scatter points to be over the top of the black/white scatter plot. I only need the scale for the coloured data.
How can this be achieved as they both use different colour scales?
Below is the code for each seperate scatter plot:
figure('Name', 'CMM Data')
scatter3(cmm_xdata,cmm_ydata,cmm_zdata,[],norm_deviation,'.')
title('CMM Data')
xlim([-radius-5 radius+5])
ylim([-radius-5 radius+5])
xlabel('x (mm)')
ylabel('y (mm)')
zlabel('z (mm)')
view(2)
colormap(flipud(gray))
daspect([1 1 1])
grid('off')
hold('on')
figure('Name', 'Sq Data')
scatter3(cci_x,cci_y,cci_z+1,60,sqcolourvalue,'filled')
colormap(jet)
c = colorbar
title('Sq Values')
xlim([-radius-5 radius+5])
ylim([-radius-5 radius+5])
xlabel('x (mm)')
ylabel('y (mm)')
zlabel('z (mm)')
view(2)
daspect([1 1 1])
grid('off')
Thanks
Joe