Any one got idea on how to plot the sticks with arrows indicating the direction of wind, like the one attached here? Is it possible with ferret?
Hi Thuckan,
| Dear Ferreters,I am trying to represent wind velocity and direction
| in the same plot using stick plot.I could do it with a data set
| having u and v components of wind-see windstick_ferret.gif. I
| presume that the length of the stick is proportional to the wind
| speed sqrt(u^2+v^2) and the direction of the stick indicates the
| direction to which wind is blowing. But I don't understand why the
| Y-axis shows postive as well as negative values, where as wind speed
| should be always positive.
A stick plot is a plot on the u-v plane. Suppose you have a time
series of a vector (u(t), v(t)). Then, you plot line segments
from (c*t, 0) to (c*t+u(t), v(t))
on the u-v plane for all values of t, where c is an arbitrary
constant. Each line segment represents the vector (u(t), v(t))
but its origin is shifted as (c*t, 0).
So, the vertical axis is v and the horizontal axis is u.
But, the horizontal axis is "labeled" with time t, just for
convenience, to represent the shift of the origin (c*t,0).
Does this answer your first question?
I'll leave the remaining questions out. I haven't looked
at your journal file.
Regards,
RyoFrom: Thuckan <thuckan@xxxxxxxxxxxxxx>
Sent: Fri, 22 Jul 2011 16:46:51
To: "ferret_users@xxxxxxxx" <ferret_users@xxxxxxxx>
Cc: "owner-ferret_users@xxxxxxxx" <owner-ferret_users@xxxxxxxx>
Subject: [ferret_users] wind stick plot
Dear Ferreters,
I am trying to represent wind velocity and direction in the same plot using stick plot.
I could do it with a data set having u and v components of wind-see windstick_ferret.gif. I presume that the length of the stick is proportional to the wind speed sqrt(u^2+v^2) and the direction of the stick indicates the direction to which wind is blowing. But I don't understand why the Y-axis shows postive as well as negative values, where as wind speed should be always positive. I attach my journal file here.
I found a different representation of the same idea elsewhere, thogh I don't know whether such a plot could be generated with ferret. I attach the figure here-windstick_arrows.gif.
Please clarify my doubt and tell if there is a way to plot the picture with arrows, like the second figure.
Thanks in advance,
Thuckan.
Treat yourself at a restaurant, spa, resort and much more with