I have thought about this question a bit. Maybe it might be the easiest thing to separate the matrix into several smaller matrices according to their Z-value. For example Z ranges from -428 to -152. Then I divide the giant matrix into smaller ones; first one with Z-values from -425 to -400, next one with Z-values from -400 to -375, and so on.. And then actually plot the scatter3 plots of those - I guess I can separate the matrix with histc but I only did this for vectors.. any idea how to histc a matrix according to a column and then de-index them to get the small matrices?
Best