Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Walter Roberson
Walter Roberson il 29 Ago 2012
You may wish to use the MATLAB File Exchange contribution named "plt"
  1 Commento
Walter Roberson
Walter Roberson il 29 Ago 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.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by