How to plot Z vs Y from a data matrix X,Y,Z as line plots for specific X values on separate figures?
조회 수: 1 (최근 30일)
이전 댓글 표시
I want to get X number of figures with Z vs Y plots.
for i=0:numel(X)
fig(i)=figure;
plot(Y,Z(X));
w = waitforbuttonpress;
close(fig(i))
end
Thanks!
댓글 수: 1
Image Analyst
2022년 9월 17일
Why is X the index to Z? How many elements are in X? If it's a thousand, surely you don't want a thousand separate figure windows.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!