Plotting wind data on a map on matlab

1 次查看(过去 30 天)
James
James 2012-1-29
I have a set of u and v wind data (41 longitude points around the world by 19 latitude points from 40N to 40S) that I am plotting with the quiver function on matlab. I want to overlay this onto a simple cylindrical map of the area of the world I am plotting the data for.
I have a simple cylindrical map of the area with the coasts by using the matlab mapping toolbox and have tried to use the hold on command to plot the data over the map however this does not work. I thought this would be a lot easier as it seems like it would be such a common use of Matlab.
Any suggestions on how to do this as the mapping documentation is extremely complex?
  1 个评论
Claudia
Claudia 2013-1-29
Hi James,
I think my problem is similar to yours. I used mapshow and now I like to put many compass plots on this map. I know the X and Y limits but I just cannot plot them.
What I could do is
- patch ( [startSquareX startSquareX stopSquareX stopSquareX]' , [ startSquareY stopSquareY stopSquareY startSquareY ]' , [ 1 1 1 1 ] , 'FaceColor' , 'none' )
and
- text( mean([startSquareX,stopSquareX]) , mean([startSquareY,stopSquareY]) , ' ' )
and so I thought it should work similar. But is just doesn't work.
Have you found an answer?
I would very appreciate if you could help me (after you had exactly one year time to figure it out :-)
Thank you and cheers, Claudia

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by