フィルターのクリア

Zooming in and out, rotating, etc. while taking data

1 回表示 (過去 30 日間)
JP
JP 2013 年 7 月 1 日
Hi, I was wondering if it is possible to zoom in/out, rotate....essentially play around with a graph as it takes real time data. Basically what happens is I try to rotate or zoom and after a half second it just reverts back to its initial orientation and doesnt allow me to look at things more closely. This is problematic because look at things more in depth while the data is being taken. Is there a way to make it so the graph doesnt constantly update to its initial orientation? Roughly, here is my code for the graphing portion
figure(2)
%quiver3 gives direction the pointer/endoscope is pointing
quiver3(data.FinalOffsetPosition(1),data.FinalOffsetPosition(2),data.FinalOffsetPosition(3),35*data.EndoOrient(1),35*data.EndoOrient(2),35*data.EndoOrient(3),'r*');
hold on
%plot3 makes sure the reference tool is always positioned at (0,0,0) in its own frame
plot3(0,0,0,'b*');
xlim([-400 400]);
ylim([-400 400]);
zlim([-400 400]);
title('Position and Orientation of Endoscope');
xlabel('x-axis');
ylabel('y-axis');
zlabel('z-axis');
drawnow
hold off
Thank you very much for the help, let me know what I need to add!

回答 (0 件)

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by