How to plot Z vs Y from a data matrix X,Y,Z as line plots for specific X values on separate figures?
2 ビュー (過去 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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!