How to plot a horizontal line?
36 ビュー (過去 30 日間)
古いコメントを表示
Mikhail Konovalov
2020 年 5 月 12 日
編集済み: Mikhail Konovalov
2020 年 5 月 13 日
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!