Superimposing a line plot onto an image

12 visualizaciones (últimos 30 días)
Ahmed Al-Sharif
Ahmed Al-Sharif el 31 de Mzo. de 2016
Comentada: Image Analyst el 31 de Mzo. de 2016
My code so far:
figure
plot(x, y);
title('Angle');
xlabel('Horizontal Distance');
ylabel('Height');
I have an image but I don't know how to superimpose the image onto the plot.

Respuestas (1)

Image Analyst
Image Analyst el 31 de Mzo. de 2016
Call imshow() to display your image first. Then put "hold on" and do your plotting.
  3 comentarios
Walter Roberson
Walter Roberson el 31 de Mzo. de 2016
And we are intended to guess what size the image is and what part of the image you want the plot drawn over ?
Image Analyst
Image Analyst el 31 de Mzo. de 2016
What are the dimensions of the image, and what is the range of x and y values you want to plot over it?

Iniciar sesión para comentar.

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by