Rotate usamap and states about center of the map

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 3-D Scene Control 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by