Plot over an image
Show older comments
Hello, I am trying to place a plot over an image and is not working.
CODE: a=[xu,xl]; %start and end x coordinates of blue line
b=[yl,yr]; %start and end y coordinates of blue line
c=[xu,xl]; %start and end x coordinates of green line
d=[yr,yl]; %start and end y coordinates of green line
imshow(img), colormap jet
hold on
plot(a,b,'blue',c,d,'green')
hold off
Does anyone has any ideia of what's wrong?
Thanks!
Accepted Answer
More Answers (0)
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!