Connecting points with lines

Hi everbody
How can i draw a line between the points at the image? I can use curve fitting toolbox, but i should use a code.
Thanks

3 个评论

Use plot..is it tough?
Hi gplot could be more useful with available codes thanks
So your purpose is solved?

请先登录,再进行评论。

回答(1 个)

What line? How about this arbitrary one?
line([100, 500], [0.1, -0.005], 'Color', 'r', 'LineWidth', 2);
Do you not like that one? Then what line would you like?
A polyfit() demo is attached, if you want to take a look at that.

类别

帮助中心File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by