Geoplot will not plot multiple polygons properly

I am trying to plot a data set with lats and lon. The result should be multiple polygons but instead all the polygons are connecting into one into a weird shape. The data size is 1 X 361. I am using
geoplot(lat_contour, long_contour,'Marker','none')
to plot the polygons. but the picture is the output. Please help.

3 Comments

The plot depends on what your lat_contour, long_contour values are. It seems you have extracted them using contour function. Is it so?
No unfortunately, they were not unfortunately. they are a result of an algorithm that calculates the lat and lon.
Then you need to check those points...

Sign in to comment.

Answers (0)

Categories

Products

Release

R2020a

Asked:

on 13 Oct 2021

Commented:

on 13 Oct 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!