drawing a shape in MATLAB
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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?
0 Commenti
Risposte (2)
Jan
il 31 Lug 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.
3 Commenti
Ryan
il 31 Lug 2012
Modificato: Ryan
il 31 Lug 2012
Matlab is not reducing the quality of your images, it is loading them at the quality that they are saved. There are two main reasons for this observation that I can think of, one is the file format and the other is your method of determining quality. What format are you loading the image into Matlab with? Are you determining quality based solely off the figure window that pops up? If the image is too large to fit on the screen, Matlab will down-size it to display all the information which could cause it to look "low quality." If you're having issues with the appearance after saving the figure, then it may be the limitation of Matlab's basic figure saving features, check out the file exchange submission export_fig to save better looking figures.
If you have the ability to post screen shots of your image at "high quality" (in word?) and "low quality" (in Matlab), it may be beneficial in finding you a solution.
Image Analyst
il 31 Lug 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.
0 Commenti
Vedere anche
Categorie
Scopri di più su Web Services in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!