Dear all,
I want to fill a polygon that I readed from shapefile with blue in order to visualzing it as lake. I searched alot and tried:
S2 = shaperead('lake.shp');polygonwater1_y = S2(1).X;polygonwater1_x = S2(1).Y;fill (polygonwater1_y,polygonwater1_x,'b')
And:
patch (polygonwater1_y,polygonwater1_x,'b')
But as you can see below, unfortunately, it doesn't fill:
Do you know how can I do to fill it?
Thank you
Best Answer