Hello. I tried many times to make a Mongolian map using Matlab. But not successful. Please help me
Ältere Kommentare anzeigen
Make the Mongolian border of the map using the mapping toolbox.
figure
worldmap 'mongolia'
axis off
getm(gca,'MapProjection')
geoshow('landareas.shp', 'FaceColor', [0.5 0.7 0.5])
geoshow('worldrivers.shp', 'Color', 'blue')
geoshow('worldcities.shp', 'Marker', '.', 'Color', 'red')
I have tried to make the above code. How do I improve this code?
1 Kommentar
Chad Greene
am 19 Mär. 2015
Please describe what you have attempted so far and what you want to accomplish. Give details.
Antworten (2)
Sain bainuu Byambakhishig,
Tani shig Mongolchuud MATLAB khereglej baigaag kharakhad saikhan baina! Ta Mongoliing gazriing zurag kharuulj chadakhgui baigaa uchir ni uls oronii shapefile (.shp file) baikhgui bolokhleer bolsongui.
Tiimees ta uls oronii shapefile ikhleed neg gazraas tataj avakh kheregtei. Jisheen:
http://thematicmapping.org/downloads/world_borders.php
Tegeed shapefile tataj avsanii daraa ta doorkhi code guilgevel bolno.
figure;
worldmap 'mongolia';
axis off;
geoshow('TM_WORLD_BORDERS_SIMPL-0.3.shp', 'FaceColor', [0.5 0.7 0.5]);
Ta MATLAB Central deer dongoj ekhelj baigaa yum shig baina tiimuu? Asuult asuukhad ireeduid zovlolokh yum bol sain nariin delgerengui asuult bichikh gej oroldooroi. Bas MATLAB code bichvel {}code tovch khereglevel deerkhitei adilkhan goyo garj irne.
English: Download a shapefile with country and border information and then use that to display the border.
Chad Greene
am 3 Apr. 2015
borders('mongolia','facecolor',[0.5 0.7 0.5])

11 Kommentare
Byambakhishig Ganbold
am 27 Apr. 2015
Bearbeitet: Byambakhishig Ganbold
am 27 Apr. 2015
Chad Greene
am 27 Apr. 2015
That error means Matlab can't find the function. You need to download the function and place it in a folder where Matlab can find it.
Byambakhishig Ganbold
am 28 Apr. 2015
Chad Greene
am 28 Apr. 2015
Byambakhishig Ganbold
am 29 Apr. 2015
Byambakhishig Ganbold
am 7 Mai 2015
Guillaume
am 7 Mai 2015
You've been given a very good answer by Chad, which as far as I can tell works exactly as you want (it certainly produces the right result for me).
What more do you need?
Byambakhishig Ganbold
am 8 Mai 2015
You get the above just using this instruction:
borders('mongolia','facecolor',[0.5 0.7 0.5])
?
On my machine, it produces:

which looks like what you want except for the axis shape that I assume comes with the mapping toolbox (which i don't have).
If you don't have the same result, then you need to explain what you're doing different. (And which version of matlab you're using).
Byambakhishig Ganbold
am 14 Mai 2015
Chad Greene
am 14 Mai 2015
If you're still working on the same map after two months, perhaps drawing it manually is the way to go. Inkscape might do the trick.
Kategorien
Mehr zu Vector Volume Data finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


