How can connect two point in plot graph?
1 回表示 (過去 30 日間)
古いコメントを表示
Hy,
I would like to know how can I connect two point in cordinate table, how can I ploting only lines?
Is this possible take two point (without range like this x = 1:0.1:1000) ...only just take two point like (15,5) and matlab make line in plot graph?
0 件のコメント
採用された回答
sixwwwwww
2013 年 12 月 6 日
yes. see:
x = [0, 1];
y = [0, 5];
plot(x, y, '*-'), xlim([-1 2]), ylim([-1 6])
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!