Plotting wind direction and speed over time
32 views (last 30 days)
I need to plot wind speed and directon over time, with data over two weeks (data is attached). I would like to have the time on the x-axis and wind on the y-axis, but I don't know how to go about it. I've read a bit about quiver but not sure how to use it, it hasn't worked for me so far..
Any help is appreciated!
Ameer Hamza on 15 Jun 2020
Edited: Ameer Hamza on 15 Jun 2020
This plot direction value vs date
T = readtable('smhi-wind-data.csv');
To use quiver, you need 4 vectors (x-coordinates, y-coordinates, x-velocity, and y-velocity). Or at least two vectors (x-velocity and y-velocity), the x and y-coordinate are just chosen to be integers.