data = csvread(['./ptClouds/' dataName '/' dataName '_1.csv']);
pcshow(pointCloud(data(:,1:3), 'Intensity', data(:,4)), 'MarkerSize', pointSize);
for k=1:numVol
data = csvread(['./ptClouds/' dataName '/' dataName '_' num2str(k) '.csv']);
x = get(fig, 'children');
ax = x(3);
ax.Children(1).XData = data(:,1);
ax.Children(1).YData = data(:,2);
ax.Children(1).ZData = data(:,3);
ax.Children(1).CData = data(:,4);
drawnow
end
So this is what I have for now. It works pretty well. It basically finds the data that defines the point cloud, replaces those values, and redraws the figure. This preserves everything about the axes. At the moment, I'm looking into doing this outside of MATLAB because MATLAB seems very limited for rendering 3d surfaces. So I haven't yet had the chance to try your suggestion John, but it sounds really cool and I want to check it out. If I end up using MATLAB for this, I'll try it out and get back to you. Thanks!!