I often get asked about clever ways of viewing and exploring large data sets. It's great to be able to perform computations on large data sets, but visualizing them gives you a richer experience. MATLAB figures already have a few built-in exploration tools, such as zoom, pan, and rotate, but one of the things that you lose is the context relative to the whole data set, especially with large data sets. When you're zoomed in, you don't have a sense of where the data may be in the overall scale.
With Thomas's widget, you can explore the data by interactively changing the range of interest. The tool is built using MATLAB Classes and is fully customizable, with the ability to add callbacks to the interactions.
Below is a modification of the example program that he includes with his entry. The widget is the draggable axes on the bottom. The rest of the GUI are standard axes and uicontrols. I added a call to findpeaks (from Signal Processing Toolbox) to continuously show some of the peaks. Notice that the number of peaks displayed changes as I zoom in and out of the data.
Get the MATLAB code
Published with MATLAB® 7.12
2 CommentsOldest to Newest
Sounds very useful but how should we pass the inputs to this widget inside our code?
what is ‘parent’? how should the ‘data’ be defined? Lets say I have plot(x,y), then how can I replace it with this tool? I am a beginner in MATLAB. the file does not have any help, it only has a demo.
This application helps make the process faster exchange of various data. It’s necessary when company have a lot of people.