|
"Myles" wrote in message <js2lcr$c8i$1@newscl01ah.mathworks.com>...
> I was curious if anyone had a link to a FEX to what I'm pretty sure is a common query.
> I have a figure which I would like to draw a line on - I pick two points using ginput, and using those those two points I create a line through them which stretches across the entire figure.
> This portion works perfectly, but what I need is some way to show a 'temporary' line after picking the first point. Right now I'm creating my line almost blindly based on a few landmarks, but it's difficult to remember where the first point has been placed and a 'guide' or 'temporary line' would be ideal to have after choosing the first point.
>
> I appreciate the help, I haven't been able to find anything worthwhile through google searches and browsing through the FEX.
Nevermind, MATLAB has a built in function which just needs to be edited slightly:
function draw_lines
|