Effacer les filtres
Effacer les filtres

plot some lines only

1 vue (au cours des 30 derniers jours)
Fani
Fani le 25 Oct 2014
Hi all!
I have two columns with 38 lines. I want to plot these columns, but some lines only. I want to plot the lines 1:14 and 26:38. How can i do this? Thank you!

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 25 Oct 2014
idx=[1:14 26:38]
plot(x(idx),y(idx))

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