Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How can I plot a single graph from a file that contains sub files?

1 vue (au cours des 30 derniers jours)
Ede gerlderlands
Ede gerlderlands le 29 Août 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
datafiles = dir('datarus*_qsStruc.mat');
for ii = 1:length(datafiles)
load(datafiles(ii).name)
load(datafiles(ii).name)
time = qsStruc.time;
u = qsStruc.u;
v = qsStruc.v;
I want to plot U vs time for each of ii's in a single graph by giving each distinctive feature rather than subplotting them? but can't figure out.

Réponses (1)

Walter Roberson
Walter Roberson le 29 Août 2012
You may wish to use the MATLAB File Exchange contribution named "plt"
  1 commentaire
Walter Roberson
Walter Roberson le 29 Août 2012
Compared to MATLAB's plot() routine, Paul's plt() routine has a greatly expanded ability to generate distinctive features for plot lines, by varying colors and markers and line styles.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by