subplot visible off to all other subplot except the selected

I generate a code for the selection of sub-plot using button selection but the selection of last sub-plot it make all other sub-plot visible off but if I select other proceeding sub-plots or overlapping on it please give me some suggestion
Thanks Deepak

2 Comments

Please post a minimum working example so we can help you better.
I don't even understand the English - no idea what he's asking. From what I can gather, there is an array of subplots and one subplot number is chosen view the menu() function, a popup, listbox, pushbutton, or some other way of getting a number from the user. Then, somehow, other subplots are made invisible and the selected one is still visible. Then the stuff after "but if I select.....", I have no idea what that means or what is wanted.

Sign in to comment.

Answers (1)

Thank you for respond i was looking for all the children of subplot to make visible off so i got the answer set(allchild(Handle),'Visible','off') set(Handle,'Visible','off')

Products

Community Treasure Hunt

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

Start Hunting!