overlaying specific points on an imported image
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Thishan Dharshana Karandana Gamalathge
el 27 de Jun. de 2018
Comentada: Walter Roberson
el 5 de Jul. de 2022
I use the imread command to import a .jpg image which has some data shown (suppose it is a part of a global map with locations of fires shown). Now I have to overlay another data set which are based on longitude and latitudes (suppose a scatter plot). How can do that?
0 comentarios
Respuesta aceptada
Walter Roberson
el 27 de Jun. de 2018
Editada: Walter Roberson
el 28 de Jun. de 2018
img = imread('peppers.png');
image(img); %display image
hold on
scatter([23; 118; 209], [74; 88; 133], 'r*'); %overlay some points
hold off
7 comentarios
Abhilash
el 5 de Jul. de 2022
While I am trying to plot a 2D surf() plot on a image, some of the data is not showing up on the map. Can someone help?
It comes up like this...
but the surf plot is supposed to be like this...
Thanks, Abhilash
Walter Roberson
el 5 de Jul. de 2022
please show your code for creating the underlay and the surf and any xlim ylim or alpha data manipulation
Más respuestas (0)
Ver también
Categorías
Más información sobre Lighting, Transparency, and Shading 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!