window-button-callback

WindowButtonUpFcn issue: Why won't it release?

I'm trying to implement a line drawn in an axes, that when clicked on will follow the mouse so long as the button is down, and when the button is released the line will stop following. In short, reposition a line on a graph to a new position based on click and drag. I've been able to get up the point of having the line follow the mouse...