How to plot data from a matrix using only a line?
Show older comments
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.
Answers (1)
Cris LaPierre
on 9 Jan 2021
0 votes
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.
1 Comment
José Correia
on 19 Jan 2021
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!