skip() function in x-direction only & not y-direction

Pablo Romero romero619 at HOTMAIL.COM
Thu Mar 5 23:37:37 EST 2009


perfect, that's just what I needed...

I apologize; I realize that I should have gone to the docs first, but sometimes its hard to resist the urge to go straight to the mailing list when searching for an answer.

In any case, thanks again, Stephen...

P.Romero
________________________________
> Date: Thu, 5 Mar 2009 22:30:53 -0600
> From: smcmillan at PLANALYTICS.COM
> Subject: Re: skip() function in x-direction only & not y-direction
> To: GRADSUSR at LIST.CINECA.IT
>
> Pablo,
> You are correct in that your three examples
> will skip a grid point in both x and y. If your expression has a
> single "skip" value, GrADS will skip equally in both directions.
> To skip differently (or one, and not the other), you must specify
> skip values for both. For example:
>
> 'd skip(u,2,1);v' will display
> every other in x direction, but all in y direction.
>
> Reference: http://grads.iges.org/grads/gadoc/gadocindex.html.
>
>
> Hope this helps!
> Stephen McMillan
>
>
>
> Pablo Romero
> Sent by: GRADSUSR at LIST.CINECA.IT
>
> 03/05/2009 10:09 PM
> Please respond to
> GRADSUSR at LIST.CINECA.IT
>
> To
> GRADSUSR at LIST.CINECA.IT
> cc
> Subject
> skip() function in x-direction only
> & not y-direction
>
>
>
>
> 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
>
>
>
>
>
> ***************************************************
>
> The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
>
> ***************************************************
_________________________________________________________________
Express your personality in color! Preview and select themes for Hotmail®.
http://www.windowslive-hotmail.com/LearnMore/personalize.aspx?ocid=TXT_MSGTX_WL_HM_express_032009#colortheme



More information about the gradsusr mailing list