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

5 vues (au cours des 30 derniers jours)
Vadim Samokhvalov
Vadim Samokhvalov le 13 Nov 2019
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

Réponse acceptée

Cam Salzberger
Cam Salzberger le 13 Nov 2019
Modifié(e) : Cam Salzberger le 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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by