title from indexed variables
2 views (last 30 days)
Show older comments
Hello, probably this is an easy answer, but I was wondering how I can call directly the 'variable' name as the title of a plot ?. Just the exact characters, for example the one showed in the red circle, it normally changes according to the .mat file. Thanks.
4 Comments
the cyclist
on 20 Apr 2021
Suppose for first .mat file, the field names are Height, Error, vrad.
Suppose for the second .mat file, the field names are Error, vrad, Height, specWidth.
How do you decide which field you want to be part of the title?
Answers (0)
See Also
Categories
Find more on Matrix Indexing 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!