How do i plot a scatter plot of wind speed and wind direction?

5 vues (au cours des 30 derniers jours)
Parth Sarathi
Parth Sarathi le 27 Juin 2016
How do i plot a scatter plot of wind speed and wind direction with wind speed represented by different colours indicating different wind speeds by a colorbar. I have attached an input data file and a sample output file. Kindly suggest how to do the same.
  4 commentaires
Image Analyst
Image Analyst le 28 Juin 2016
Did you right click and select "Save Link As..."?
dpb
dpb le 28 Juin 2016
Yea, I still get an ascii rendition in the saved file...

Connectez-vous pour commenter.

Réponses (3)

Image Analyst
Image Analyst le 28 Juin 2016
How about scatter()? You can input the color of each marker if you want. Or if you want to indicate direction, use quiver().
  1 commentaire
dpb
dpb le 28 Juin 2016
Tough w/ scatter to do the polar coordinates, though...Matlab is very limited when get out of the x-y 2D plotting.
Seems like the solution may be a two-axes plot w/ the data plotted suitably transformed via scatter over a polar axes...but the question asked above of what's actually being plotted is a good one...

Connectez-vous pour commenter.


Chad Greene
Chad Greene le 28 Juin 2016
There's this solution from File Exchange.

Muhammad Usman Saleem
Muhammad Usman Saleem le 28 Juin 2016
you may try quever plot to show winds speed and direction vector.

Community Treasure Hunt

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

Start Hunting!

Translated by