File Exchange Pick of the Week

June 12th, 2009

uilineshift

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.

Comments?


Get the MATLAB code

Published with MATLAB® 7.9

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


MathWorks

Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.