Plotting a shapefile.
76 views (last 30 days)
Show older comments
Suman Dhamala on 19 Jun 2021
Answered: Vimal Rathod on 23 Jun 2021
I want to plot shapefile. Shapefile is polygon. I used following code.
Ignoring the rest, mapshow command plots the shapefile, but the shapefile is soild and filled inside. Because of this the plot from pcolor is hidden. How to make the shapefile transparent and plot only the outline?
Vimal Rathod on 23 Jun 2021
You could try using FaceAlpha property of mapshow to reduce the transparency of the polygons. Have a look at this example snippet.
% you can set the value of FaceAlpha from 0 to 1
% use FaceAlpha zero for total transparency
mapshow(india, 'FaceAlpha', 0)
Refer to the following link for more info on different properties of patches
More Answers (0)
Find more on Map Display 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!