My map does not have a correct ratio of scale.
Mostrar comentarios más antiguos
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')

Respuestas (2)
Image Analyst
el 12 de Jul. de 2015
0 votos
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 comentario
Amir
el 13 de Jul. de 2015
Sean de Wolski
el 13 de Jul. de 2015
0 votos
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 comentario
Amir
el 13 de Jul. de 2015
Categorías
Más información sobre Map Display en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!