Bob's pick this week is uilineshift by Paul Koch.
Do you ever plot multiple data sets? Have you ever wanted to nudge one a little to help compare it to other data? If so, check out Paul's solution. The functionality is intuitive: just click and drag. The way he integrated it into the toolbar of a figure window is a nice touch. It plays well with other toolbar buttons. Clicking zoom turns off line shift behavior for example. I also like how he integrated a test case. Just run uilineshift('test') and start nudging.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.