how to geoplot with color after projinv?
Show older comments
before projinv, I made this plot.

and after projinv, I plotted this polyshape in geoplot, and i found that there are unconncted lines.



so i added the first coordinates after the end coordinates.
ex) 1 2 3 4 5 1 NaN ~~~

the results seem not to have unconnected line. but it's still not filled with color.
[IFR_lat_merged IFR_lon_merged] = projinv(p,IFR_cutout.Vertices(:,1),IFR_cutout.Vertices(:,2));
IFR_cutout = geopolyshape(IFR_lat_merged,IFR_lon_merged)
geoplot(IFR_cutout,'C')
Thanks
1 Comment
Garmit Pant
on 4 Jul 2022
Hello Sierra
Can you please provide the entire code and data to reproduce the results that you have provided?
Answers (0)
Categories
Find more on Polygonal Shapes in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!