I have plotted an average y-value along with a minimum and maximum y-value. They are all three plotted at the same x-value. Representing a maximum and minimum range around the average point for that specific x-value. How can I vertically connect these three points so it appears as more of a range instead of three vertical points?
I have attached a picture in case my wording is not clear.
Thanks guys, Chase

1 commentaire

Chase Lucia
Chase Lucia le 2 Juin 2016
I need to connect the square to its respective range, the circle to its respective range, and finally the triangle

Connectez-vous pour commenter.

 Réponse acceptée

Star Strider
Star Strider le 2 Juin 2016
One possibility:
figure(1)
plot([1 1], [0.5 0.8], [2 2], [3 4], [3 3], [1 2])
axis([0 4 0 5])
Another is the errorbar function.

Plus de réponses (0)

Catégories

En savoir plus sur Line Plots dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by