figure title in a loop
Mostra commenti meno recenti
I am producing a subplot inside a for loop with the following:
for i=1:length(fieldnames(Data));
subplot(length(fieldnames(Data)),1,i);
plot(Data.(Name{i}));
end
Next I want one title which lists the fieldnames, something like:
title('Temperature a)fieldname1 b)fieldname2 c)fieldname3')
However, I don't know how to make the fieldname for 'Data' to appear in the title command.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Elementary Math in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!