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

25 Ansichten (letzte 30 Tage)
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

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by