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.
要发表评论，请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。