MATLAB Answers

How to start with untagged data in plotbrowser?

1 view (last 30 days)
Hi.
I plot several plots,. lets say 30,in the same graph.
How can I get them all to be untagged when I open plot browser, so when I just want to check one of the plots and compare it to one more, I just need to cross those two plots, instead of untagging all other 28 plots.
All comments are very appreciated!
Kind Regards, Fredrik

  1 Comment

Fredrik
Fredrik on 2 Jul 2012
I would like the data to be visible before I open the plotbrowser, but not visible when the plotbrowser is opened.
If I just would like to to be unvisible at all times, I could just take set(h,'Visible','off') to solve that...

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 2 Jul 2012
Write a function that gets the current visibility status of the plots on the current figure, turns their visibility off, invokes the plotbrowser, drawnow(), wait for the plot browser to finish, and restore the visibility.
If you have been invoking the plotbrowser from the command line, call the above script.
If you have been invoking the plotbrowser from the figure icon, then write an additional function that digs through the figure menu toolbars, finds the function that clicking that icon invokes, and bashes that menu entry to call the function described in the first paragraph.
Caution: I do not promise at the moment that the plotbrowser opens a window that you can wait for easily. It could be as bad as having to go into the java level and find the java handle of the plotwindow in order to be able to waitfor() on that.
If you were hoping for an easy way of doing this... sorry, nothing like that documented.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.