His clever wrapper around legend is a great example of customizing MATLAB. Suppose you often plot lots of curves then want to start ignoring those of least interest. Doing this interactively can greatly aid data exploration. The animation here mimics how the plot changes each time the middle legend label is clicked. While you can do something similar with plottools this is a nice alternative.
How do you customize MATLAB? What's your favorite wrapper function? Tell us about it here.
Get the MATLAB code
Published with MATLAB® 7.7
Comments are closed.