我可以使用subplot
来在同一个窗口中显示多个图像。例如,我有两个图像显示:
figure,
subFig1=subplot(1,2,1)
surface(rawx,rawy,rawz) % 3D object
subFig2=subplot(1,2,2)
plot(x,z) %profile of the surface.
假设 rawx, rawy,rawz 是原始数据,x,y,z 是测量数据。我正在使用迭代“ for
”来读取测量数据。
在循环过程中,是否可以按住 subFig1 并在表面顶部绘制测量的轮廓,同时 subFig2 仍然可以在 2D 中显示轮廓并在新的测量到来时刷新。
我想这可以通过不同的手柄来完成。但是,到目前为止,我找不到任何线索。请帮忙。