overlaying specific points on an imported image
5 ビュー (過去 30 日間)
古いコメントを表示
Thishan Dharshana Karandana Gamalathge
2018 年 6 月 27 日
コメント済み: Walter Roberson
2022 年 7 月 5 日
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 件のコメント
採用された回答
Walter Roberson
2018 年 6 月 27 日
編集済み: Walter Roberson
2018 年 6 月 28 日
img = imread('peppers.png');
image(img); %display image
hold on
scatter([23; 118; 209], [74; 88; 133], 'r*'); %overlay some points
hold off
7 件のコメント
Abhilash
2022 年 7 月 5 日
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
2022 年 7 月 5 日
please show your code for creating the underlay and the surf and any xlim ylim or alpha data manipulation
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!