Uicontrol function in Plot
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Title in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!