Quickly create an interactive data viewer with tabbed figures
Jiro‘s pick this week is Tabbed Figure by Curtis.
Have you ever wanted to visualize a bunch of data so that you can quickly explore through them? Well, that sounds like a pretty standard thing to do in MATLAB. I can easily create plots, perhaps on separate figure windows, or subplots, or multiple lines on a graph. But if I need to organize them a bit more so that I can quickly switch between the graphs, I may need to create a nice user interface for it. But that would take some time. I have to think about the layout, work on the backend plumbing, and display the appropriate data at the appropriate location.
Curtis’s tfigure lets me create such an “app” without requiring much more effort than creating regular plots. Take a look at this video below. I just create my data … create the tabs … display my data … and voila! I have an interactive app for exploring my data.
The code is written using object-oriented programming in MATLAB, and Curtis includes nice documentation as well as a demo code.
Comments
Give it a try and let us know what you think here or leave a comment for Curtis.
- Category:
- Picks
Comments
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.