Superimposing a line plot onto an image

12 次查看(过去 30 天)
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.

回答(1 个)

Image Analyst
Image Analyst 2016-3-31
Call imshow() to display your image first. Then put "hold on" and do your plotting.
  3 个评论
Walter Roberson
Walter Roberson 2016-3-31
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 2016-3-31
What are the dimensions of the image, and what is the range of x and y values you want to plot over it?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by