splitting a graph into a new one
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2014년 10월 3일
편집: Image Analyst
2014년 10월 3일
subplot(1,3,1);
plot(t, x, 'b-');
subplot(1,3,2);
plot(t, F, 'b-');
댓글 수: 4
Image Analyst
2014년 11월 23일
So, use a slider. Learn how to put controls on a GUI here: http://blogs.mathworks.com/videos/category/gui-or-guide/
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!