PLOT Specific x,y data

20 ビュー (過去 30 日間)
sanbadgerdude
sanbadgerdude 2016 年 3 月 31 日
コメント済み: KSSV 2016 年 4 月 1 日
I have 3 values...
At x=51,y=.0189
At x=201,y=.112
At x=40001,y=.202
All I want to do is plot these values and show the curve. On the x-axis labels for 51,201,40001 and on the y-axis labels for .0189, .112, .202.

採用された回答

KSSV
KSSV 2016 年 3 月 31 日
x = [51 ; 201 ; 40001] ;
y = [.0189 ; .112 ; .202] ;
plot(x,y)
  2 件のコメント
sanbadgerdude
sanbadgerdude 2016 年 3 月 31 日
Thank you! The semicolon is what had me confused. Did not think of that.
KSSV
KSSV 2016 年 4 月 1 日
semicolon is not compulsory. You may skip the semicolon too...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by