how to plot verticle lines?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
How do I plot vercicle lines that go up to y-value 10?
thanks in advance
댓글 수: 0
채택된 답변
John D'Errico
2020년 11월 30일
편집: John D'Errico
2020년 11월 30일
Plot two points, connected by a line. Both points will have the same value for x. You can choose the start and end point in y to plot. Don't use a marker. WTP?
Or, you could use the function xline.
댓글 수: 4
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!