Plotting wind data on a map on matlab

1 visualización (últimos 30 días)
James
James el 29 de En. de 2012
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 comentario
Claudia
Claudia el 29 de En. de 2013
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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by