From: Tom on 6 Jan 2010 16:25 Hi, I am loading in an image, using imshow and then I want to plot the greyscale profile along two (unconnected) arbeitary lines using the improfile tool. At the moment I have been sucessful along one line, and have noticed that you can draw a "polyline" but I want to plot two discrete lines on the same greyscale plot. My current implementation: imshow stream1.jpg improfile Any thoughts or techniques? Its almost like I need to use the hold on function ..... Regards, Tom
From: ImageAnalyst on 6 Jan 2010 20:11 Tom: Are you using improfile interactively, or passing in the endpoint coordinates? To plot the lines, just display your image, then set hold on, then use the line() function to plot the two lines in the graphical overlay on top of your image. Regards, ImageAnalyst
|
Pages: 1 Prev: Please Some Help With My Frenet-Serret Function Next: system of pde's in (t,x,y) |