Uicontrol function in Plot

4 次查看(过去 30 天)
Sérgio Querido
Sérgio Querido 2017-11-25
How can i put a temporal slider in the next plot with uicontrol function?? I need to see ddo's displacement for each temporal sample (temporalserie). Campozero are the line of the pitch!!
campozero(:,1)=[0 0,787079707952216; 104,251821869519; 105,540769973304; 0] % lines of the pitch
campozero(:,2)=[67,9977658009157; 0; 68,4083498376422; 0; 67,9977658009157] % lines of the pitch
dd0(:,1)= [63,0967621821910; 63,0967621821910; 63,0967621821910; 63,1788301775232; 63,1788301775232 63,2608981735539]
dd0(:,2)= [-4,65417109103873; -4,65417109103873; -4,65417109103873; -4,68290959531441; -4,68290959531441; -4,71164809865877]
temporalserie = [150000000; 150000100; 150000200; 150000300; 150000400; 150000500] % temporalserie do deslocamento dd0
figure;
title ('posições defesas');
plot (campozero(:,1),campozero(:,2),'k');
hold on
axis equal
plot(dd0(:,1),dd0(:,2),'r');

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by