how to geoplot with color after projinv?
조회 수: 1 (최근 30일)
이전 댓글 표시
before projinv, I made this plot.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1053600/image.png)
and after projinv, I plotted this polyshape in geoplot, and i found that there are unconncted lines.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1053605/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1053610/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1053615/image.png)
so i added the first coordinates after the end coordinates.
ex) 1 2 3 4 5 1 NaN ~~~
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1053620/image.png)
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
Garmit Pant
2022년 7월 4일
Hello Sierra
Can you please provide the entire code and data to reproduce the results that you have provided?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Elementary Polygons에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!