skip() function in x-direction only & not y-direction
Pablo Romero
romero619 at HOTMAIL.COM
Thu Mar 5 23:09:26 EST 2009
Hi,
Im pretty sure this can be done:
I need to use the skip() function on u,v components in a way that will only skip in the x-direction (longitude) and not in the y-direction (latitude).
example:
the expressions...
'd skip(u,2);skip(v,2)'
'd skip(u,2);v'
'd u;skip(v,2)'
...will all plot "every other" grid point in both x&y directions.
I want to plot "every other" grid point longitudinally (x-direction), while still plotting "every point" latitudinally (y-direction).
so, this is what I want to achieve (in matrix form):
(x1,yn),,(x3,yn),,(x5,yn),,(x7,yn)...(xn,yn),,(x{n+2},yn)
...
(x1,y3),,(x3,y3),,(x5,y3),,(x7,y3)...(xn,y3),,(x{n+2},y3)
(x1,y2),,(x3,y2),,(x5,y2),,(x7,y2)...(xn,y2),,(x{n+2},y2)
(x1,y1),,(x3,y1),,(x5,y1),,(x7,y1)...(xn,y1),,(x{n+2},y1)
How can this be accomplished?
Thanks,
P.Romero
_________________________________________________________________
Windows Live™ Groups: Create an online spot for your favorite groups to meet.
http://windowslive.com/online/groups?ocid=TXT_TAGLM_WL_groups_032009
More information about the gradsusr
mailing list