How to draw vectors with space between them?

Bernat Codina bcodina at UB.EDU
Wed Nov 5 05:08:24 EST 2008


2008/11/5 Mald MM5 <maldmm5 at gmail.com>:

> I want to do a vector plot with a vector at say every 5th grid point. I have
> a grid with many grid points (eg. 200 pnts) and the screen looks so messy
> with all the vectors. So I want to plot them at equi-grid points. How do I
> achieve this?

Use the skip function. Example taken from the GrADS manual:

> To display every other grid point in both the X and Y direction:
>
> d skip(u,2,2);v

In your case: d skip(u,5,5),v

Bernat Codina
Dept. d'Astronomia i Meteorologia
Universitat de Barcelona



More information about the gradsusr mailing list