How to add a horizontal line in a bar plot????
이전 댓글 표시
Dear all,
i use the command bar for a plot. I want to insert a horizontal line in a bar plot at y = 30. How can I do that? Thank you!
채택된 답변
추가 답변 (1개)
Vivian Hauss
2016년 7월 19일
편집: Vivian Hauss
2016년 7월 19일
A bit shorter:
hline(30,':k','This Line is horizontal')
댓글 수: 1
Pablo Sánchez
2020년 12월 8일
편집: Pablo Sánchez
2020년 12월 8일
Does hline() exist? Is yline()
카테고리
도움말 센터 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!