splitting a graph into a new one
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Daniel
am 3 Okt. 2014
Kommentiert: Image Analyst
am 23 Nov. 2014
Hello,
I have some data from my measurements and I have created three vectors 1x45000. My Three vectors are x,F and t. x is my displacement vector, F my force and t my time.
I want to do a subplot which I can do. I want the first subplot to be x vs t, the second subplot F vs t.
Then I would like to have some tools in my first subplot. I want to have some markers that I could adjust in the plot. I want to plot a third subplot with the data between these markers, but only F vs x.
How is this possible. I have no clue...
Thank you.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 3 Okt. 2014
Bearbeitet: Image Analyst
am 3 Okt. 2014
subplot(1,3,1);
plot(t, x, 'b-');
subplot(1,3,2);
plot(t, F, 'b-');
4 Kommentare
Image Analyst
am 23 Nov. 2014
So, use a slider. Learn how to put controls on a GUI here: http://blogs.mathworks.com/videos/category/gui-or-guide/
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!