Slider for Time Control in graph
조회 수: 1 (최근 30일)
이전 댓글 표시
How can i have a slider which allows me to choose the time and respectively shows the right dd's coordinates. How can i codify uicontrol??
pitch = [0 67; 0 0; 104 67; 104 0; 0 67] %always the same values over the time
time=[1;2;3;4;5] %time in seconds
dd = [2 5; 6 9; 7 8; 9 10; 10 30] %displacement over the time
figure;
title ('posições defesas');
plot (pitch(:,1),pitch(:,2),'k');
hold on
axis equal
plot(dd(:,1),dd(:,2),'r');
댓글 수: 0
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!