Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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.

Answers (1)

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

This question is closed.

Community Treasure Hunt

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

Start Hunting!