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

조회 수: 6 (최근 30일)
Parth Sarathi
Parth Sarathi 2016년 6월 27일
답변: Muhammad Usman Saleem 2016년 6월 28일
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
Image Analyst
Image Analyst 2016년 6월 28일
Did you right click and select "Save Link As..."?
dpb
dpb 2016년 6월 28일
Yea, I still get an ascii rendition in the saved file...

댓글을 달려면 로그인하십시오.

답변 (3개)

Image Analyst
Image Analyst 2016년 6월 28일
How about scatter()? You can input the color of each marker if you want. Or if you want to indicate direction, use quiver().
  댓글 수: 1
dpb
dpb 2016년 6월 28일
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...

댓글을 달려면 로그인하십시오.


Chad Greene
Chad Greene 2016년 6월 28일
There's this solution from File Exchange.

Muhammad Usman Saleem
Muhammad Usman Saleem 2016년 6월 28일
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