drawing a shape in MATLAB
6 views (last 30 days)
I want to draw the map of united states countray in MATLAB for having a high quality shape for printing. When I draw this map in word2010 and save as a picture and then open it with MATLAB,the quality is low. Is there any way in MATLAB, for drawing the map?
Jan on 31 Jul 2012
You can download a high-quality scalable picture from the net, e.g. stars_stripes.pdf . If you really want to do it by your own, use these instructions: http://www.usflag.org/flag.specs.html .
Drawing in Word seems to be a bad idea, but the transfer to Matlab should be fine, if you use an accurate format. I'm sure you "Save as picture"-operation could be improved, if you explain the relevant details.
Image Analyst on 31 Jul 2012
Why not just get a graphic off the web, or from a stock photography house? I'm not sure if the Mapping Toolbox has any functions to draw the worlds countries. It would be nice if it did. If it did I suppose it could be contentious because some boundary lines are in dispute.
If you want the x,y coordinates, you could import an image that you got off the web, then use find() or threshold it and use bwboundaries() to get the coordinates.