how to geoplot with color after projinv?

2 views (last 30 days)
Sierra
Sierra on 3 Jul 2022
Commented: Garmit Pant on 4 Jul 2022
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
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?

Sign in to comment.

Answers (0)

Categories

Find more on Elementary Polygons 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!