How to set a horizontal line at one specific point on a plot?

 채택된 답변

Birdman
Birdman 2017년 11월 26일
For instance:
line([2.5,11.5],[-4,-4])

댓글 수: 5

2.5 is the starting point? Because when I set the starting point below zero the line doesn't appear
Yes it is starting point and below zero you can not see the line because your x axis starts at 0.01
I had to change that too eventually. Thank you very much.
Has the answer worked for you? If so, you can accept it.
Yes thank you. First time here. Didn't know.

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

추가 답변 (0개)

카테고리

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

태그

질문:

2017년 11월 26일

댓글:

2017년 11월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by