How to plot a horizontal line?
조회 수: 69 (최근 30일)
이전 댓글 표시
My function is just y=2050 and I need to plot it w/o using "yline", because it's not a graph, actually. I just type this:
x=[0:0.1:110];
y=[0:10:2060];
g=2050;
plot(x,g)
And I don't get anything. Like, completely anything:
And also after that I need to mark a point (100,2050) and be able to make it bigger than my graph.
How do I solve these problems?
댓글 수: 0
채택된 답변
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!