title according to the file name
51 views (last 30 days)
Fercho_Sala on 15 Apr 2021
Does anybody know how to (in a plot) put the ‘title’ as the name of the file where the X,Y,Z variables are included? the idea is to generate several and independent plots, based on ‘imagesc’, ‘contolchart’ and other plotting functions. Thanks.
Constantino Carlos Reyes-Aldasoro on 15 Apr 2021
Perhaps you want to add values to the titles of your figures, try something like this
title(strcat('Subplot number =',num2str(k)))
If this does not answer your question, we would need more information.