How to plot data from a matrix using only a line?

I have data storaged in files with .txt format, that I upload into MATLAB.
I would like to plot the data using only a line. Is there any solution besides conecting every pair of points with lines, or is this even a good solution?
Thank you in advance, cheers.

답변 (1개)

Cris LaPierre
Cris LaPierre 2021년 1월 9일

0 개 추천

You really have two options. Plot markers, or plot a line. You have lots of plotting options in MATLAB. See this page for the basics of using plot. For more, visit Ch 9 of MATLAB Onramp.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

제품

릴리스

R2016a

질문:

2021년 1월 9일

댓글:

2021년 1월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by