how to increase the resolution of latitude longitude gird ???

1 回表示 (過去 30 日間)
rahul
rahul 2011 年 12 月 20 日
hello
i have plot india's map using 'worldmap' ... i am geting latitude longitude grid with 10 lat/long spacing. Please let me know how can i get the 1 degree spacing of latitude and longitude????
thanks in advance....

採用された回答

Rob Comer
Rob Comer 2011 年 12 月 24 日
To change the default meridian and parallel spacing after creating a map axes with worldmap, set the MLineLocation and PLineLocation properties using setm. The following sets the spacing to 1 degree:
setm(gca,'MLineLocation',1,'PLineLocation',1)
Use doc('axesm') to bring up the axesm reference page and learn more about these and other map axes properties.
  1 件のコメント
rahul
rahul 2011 年 12 月 26 日
Thanks Rob...
i got the 1 lat/long grid. But i also want it to display each lat long as a label there in figure....
can you guide me how to do it???

サインインしてコメントする。

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2011 年 12 月 20 日
It looks like latitude and longitude can be fed in as vectors to geoshow. There are some good examples in:
doc geoshow

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by