drawing a shape in MATLAB

6 views (last 30 days)
mohammad on 31 Jul 2012
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?

Answers (2)

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.
mohammad on 1 Aug 2012
Thanks Ryan. I saved the picture in .bmp format (the main format is in Word2010 and .dox format). I want to print the final result in large scale (84.1*118.9 cm). For example you can see and download one of this pictures here: http://www.mediafire.com/view/?z70fg0h8mc31tm1

Sign in to comment.

Image Analyst
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by