How can I draw a line on top of an imagesc?
28 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
H Swan
el 16 de Jun. de 2017
Respondida: Image Analyst
el 16 de Jun. de 2017
When I issue a plot command, the previously drawn image disappears and is replaced by the line.
0 comentarios
Respuesta aceptada
Image Analyst
el 16 de Jun. de 2017
Use hold on
imagesc(yourImage);
hold on;
line([x1,x2], [y1,y2], 'Color', 'r');
0 comentarios
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!