Effacer les filtres
Effacer les filtres

How to plot Z vs Y from a data matrix X,Y,Z as line plots for specific X values on separate figures?

1 vue (au cours des 30 derniers jours)
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 commentaire
Image Analyst
Image Analyst le 17 Sep 2022
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:

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by