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

Chase Lucia
Chase Lucia 2016년 6월 2일
I need to connect the square to its respective range, the circle to its respective range, and finally the triangle

댓글을 달려면 로그인하십시오.

 채택된 답변

Star Strider
Star Strider 2016년 6월 2일

0 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Errorbars에 대해 자세히 알아보기

태그

질문:

2016년 6월 2일

답변:

2016년 6월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by