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