Connecting points with lines
조회 수: 1 (최근 30일)
이전 댓글 표시
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157449/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157451/image.png)
댓글 수: 3
답변 (1개)
Image Analyst
2016년 10월 28일
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Directed Graphs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!