My map does not have a correct ratio of scale.
Afficher commentaires plus anciens
I use a shape file (.shp) to create a map file from the province of Alberta in Canada. My .shp file is from the government of Canada so I am sure that the data is correct. However, when I use the mapshow command to create my map, I do not get it in a correct scale ratio. Alberta has a rectangular shape, but my map is almost square, as you can see below. My code: mapshow(myShapeFile.shp, 'FaceColor', 'green','line','none')

Réponses (2)
Image Analyst
le 12 Juil 2015
0 votes
Try various axis commands, like axis equal, axis square, axis image, etc. and see if any of them get it to look the way you want.
1 commentaire
Amir
le 13 Juil 2015
Sean de Wolski
le 13 Juil 2015
0 votes
My guess is the projection that was used to create X/Y was not an equal area one and thus you are seeing the distortion because Canada isn't near the equator. Can you post the shape file?
1 commentaire
Amir
le 13 Juil 2015
Catégories
En savoir plus sur Map Display dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!