Plot with step changes - no interpolation
Afficher commentaires plus anciens
Hello,
The standard for plotting a line in matlab is that the line is drawn with a constant slope between the points. I would like to plot something where each subsequent y-value represents a step change in rate. The resulting plot would look blocky, rather than smoothed between the points. Any suggestions that will help me with this?
Thank you.
Réponse acceptée
Plus de réponses (2)
Walter Roberson
le 4 Nov 2011
2 votes
John
le 4 Nov 2011
0 votes
Catégories
En savoir plus sur Annotations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!