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

1 visualizzazione (ultimi 30 giorni)
Suppose I have a array of a(i), how do I draw this figure?

Risposta accettata

Walter Roberson
Walter Roberson il 14 Apr 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))

Più risposte (0)

Categorie

Scopri di più su Graphics Object Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by