Plot over an image
Mostra commenti meno recenti
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!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Scatter Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!