How to plot different tdms file data on same figure within a loop?
5 views (last 30 days)
Show older comments
Hello, thanks for taking a look:
I want to plot certain data from LabView tdms files after I convert them to .mat file(s). I have a script to allow the user to select which files to convert. Once the files are selected, a function is called to convert the files, one at a time, to .mat file. Then proceed to plot the power consumption (from tdms file). The script plots the data correctly, but I can either:
-plot on separate figures, or, -have the first figure overwritten by second figure.
Thanks, John
0 Comments
Accepted Answer
Jan
on 10 Jan 2013
Edited: Jan
on 10 Jan 2013
And what do you want to achieve exactly? A Subplot for each file or collecting the data of all files in one diagram using different line colors? Or do the files contain data recorded to different time, such that the new data are appended to the line(s) of the existing diagram?
Please explane the term "same figure" with more details. When you post the relevant code, suggesting a modification is much easier for us and for yourself.
4 Comments
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!