to highlight median value on the plot.
조회 수: 7 (최근 30일)
이전 댓글 표시
hello ,
i have plotted a graph using
cdfplot(z)
now i need to indicate median as a line on graph as shown below
here i need the red lines shown above.
one i need at y-axis = 0.5 and one at Y-axis = 0.9.
i also want to display the corresponsing x value their.
thank you in advance
댓글 수: 0
답변 (1개)
KSSV
2020년 6월 11일
You can get the corresponding points and use plot to draw a line.
To show up the text, you can use the function text.
댓글 수: 5
참고 항목
카테고리
Help Center 및 File Exchange에서 Directed Graphs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!