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 comentarios

KSSV
KSSV el 28 de Oct. de 2016
Use plot..is it tough?
Eng. Fredius Magige
Eng. Fredius Magige el 28 de Oct. de 2016
Hi gplot could be more useful with available codes thanks
KSSV
KSSV el 28 de Oct. de 2016
So your purpose is solved?

Iniciar sesión para comentar.

Respuestas (1)

Image Analyst
Image Analyst el 28 de Oct. de 2016

0 votos

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.

Categorías

Más información sobre Curve Fitting Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 27 de Oct. de 2016

Respondida:

el 28 de Oct. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by