My map does not have a correct ratio of scale.
1 view (last 30 days)
Show older comments
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')
0 Comments
Answers (2)
Image Analyst
on 12 Jul 2015
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.
Sean de Wolski
on 13 Jul 2015
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?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!