Effacer les filtres
Effacer les filtres

How to hide and reappear titles of plot in matlab gui axes using visible?

11 vues (au cours des 30 derniers jours)
Tejaswini Ramesh
Tejaswini Ramesh le 18 Fév 2019
i have different panels with axes and titles to each of these plots. I want to hide and later reappear the plot title based on the user requirement
I tried the following:
handles.figure1.CurrentAxes.Title.Visible = 'off';
This hides the title only for the last axes from the last panel, not all.
I also tried
delete(findall(findall(gcf,'Type','axe'),'Type','text'))
but this deletes all the titles instead of hiding them.
Please help me with this!
Thank you in advance

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by