How to draw a figure with x axis of a(i) and y axis of a(i+1)?

1 vue (au cours des 30 derniers jours)
xingjian yang
xingjian yang le 14 Avr 2016
Commenté : xingjian yang le 14 Avr 2016
Suppose I have a array of a(i), how do I draw this figure?

Réponse acceptée

Walter Roberson
Walter Roberson le 14 Avr 2016
plot(a(i), a(i+1))
You will not see much unless your i is a vector of values.
Perhaps what you want to ask about is
plot(a(1:2:end), a(2:2:end))

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Object Programming 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