Want to create circle around latitude and longitude plotted in map
1 次查看(过去 30 天)
显示 更早的评论
at = [21.1658 21.1655 21.16672 21.16441 21.15638 21.17103 21.17166 21.14175 21.17098 21.17521 21.16423 21.17525 21.16205]; lon = [72.7939 72.7937 72.79333 72.77744 72.77798 72.78658 72.78956 72.75316 72.77758 72.80426 72.79398 72.78943 72.75631]; plot(lon, lat, '.b', 'MarkerSize', 15); grid on plot_google_map('MapScale', 1)
I have used this code to generate the map and now i am using circlem function,but getting errors.
lat = [21.1658 21.1655 21.16672 21.16441 21.15638 21.17103 21.17166 21.14175 21.17098 21.17521 21.16423 21.17525 21.16205]; lon = [72.7939 72.7937 72.79333 72.77744 72.77798 72.78658 72.78956 72.75316 72.77758 72.80426 72.79398 72.78943 72.75631]; plot(lon, lat, '.b', 'MarkerSize', 15); grid on plot_google_map('MapScale', 1) h = circlem(lats(4),lons(4),50:20:700,'edgecolor','none','facecolor',rgb('bright orange'),'facealpha',.05);
Can anybody please let me know the problem with my code and help me with the same. Thank you in advance
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!