Rotate usamap and states about center of the map

1 回表示 (過去 30 日間)
csatam
csatam 2016 年 8 月 15 日
回答済み: Prasad Mendu 2016 年 8 月 18 日
I have data from a program that gives me surface concenteration between a given set of latitudes and longitudes. I am looking to plot these onto a map in matlab using usamap and states as defined in matlab example 2 of the usamap command. The problem is that the data from the program is rotated by about 9 degrees, and so far I have been unable to find a way to rotate the usamap & the state boundaries by 9 degrees about the center of the map. Is there a way to do this? Any help\hints in this regard would be deeply appreciated.Thanks in advance.

回答 (1 件)

Prasad Mendu
Prasad Mendu 2016 年 8 月 18 日
You can use the 'rotate3d' function to rotate 3-D view of the map. First, execute the command given below to turn this feature 'on':
>>rotate3d on
You can then rotate the map by 9 degrees using the mouse. The value of the degrees is displayed on the lower left corner of the figure window.
The documentation of the 'rotate3d' can be found at the link below:
Also, refer to the documentation of the 'rotate' function at the link below to find out more on implementing the same programmatically:

カテゴリ

Help Center および File Exchange3-D Scene Control についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by