Effacer les filtres
Effacer les filtres

Plot multiple matrices in the same graph

6 vues (au cours des 30 derniers jours)
Aziza Zaouga
Aziza Zaouga le 18 Juil 2018
Commenté : KSSV le 30 Août 2018
Hello, I have an array initialized as follows
Delays_Array{N}= [];
and every 'Delays_Array{i}' has 2 columns and a variable number of rows. in the end of my program, i want to plot every 'Delays_Array{i}' in the same figure. Can you help me please ? thank you in advance :)

Réponse acceptée

KSSV
KSSV le 18 Juil 2018
figure
hold on
for i = 1:length(Delays_Array)
plot(Delays_Arrays{i}(:,1),Delays_Arrays{i}(:,2))
end
  1 commentaire
KSSV
KSSV le 30 Août 2018
Aziza Zaouga commented: Thank you ,

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by