Plotting a 2d graph from .txt file (imported into MATLAB as table)

5 views (last 30 days)
I need to plot x(t) graph from parsed(as table) text file.
What should I do to plot it?
Снимок экрана_2019-11-13_22-14-17.png

Accepted Answer

Cam Salzberger
Cam Salzberger on 13 Nov 2019
Edited: Cam Salzberger on 13 Nov 2019
plot(data.t, data.x)
A similar question was posted here, and points to this documentation for more information.
You could even have a look at the "PLOTS" tab there, as that should be able to get you started with basic plotting.
-Cam

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!