[Thread Prev][Thread Next][Index]
Re: levels type command for vector
Hi Brent,
You can set up a "masking" variable to plot only the vectors
you want (on the IF statement, there is an implied "else bad-data").
yes? let length = (u^2 + v^2)^0.5
yes? let threshold = 10.
yes? let mask = if length ge threshold then 1.
yes? vector u*mask, v*mask
Ansley Manke
Brent A McDaniel wrote:
> Is there a way to set levels for vector plots like you can for contour
> plots? I have a polar stereographic vector plot that looks very messy
> because lots of small vectors are being drawn in. I want to emphasize the
> region of interest (where the vectors are large) and suppress the others
> (not draw them in at all). Hope this makes sense.
>
> Thanks.
>
> Brent
>
> --
> Brent A. McDaniel
>
> Dept of Earth and Atmospheric Sciences
> Georgia Institute of Technology
> Atlanta, Ga. USA
--
Ansley Manke Pacific Marine Environmental Laboratory Seattle WA (206)526-6246
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement