Re: _FillValue on XY plots

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 20 Jul 2006 09:24:51 -0600 (MDT)

All,

This bug was fixed and will be in the next release of NCL. As always,
if you need a fix now, drop me an email.

The bug was if you were using markers in an XY plot and your X or Y
data contained missing values, *and* you were setting one of the
trX/YMin/MaxF resources to be a value outisde the value of the missing
value, then the missing values were still being plotted.

--Mary

On Wed, 19 Jul 2006, Dennis Shea wrote:

>> I'm creating a scatterplot in which the X variable contain
>> _FillValue=-9. All X values are positive, but some Y values can be negative.
>>
>> If I don't set trXMinF, then the X axis is set automatically to start at
>> 0. However, if I set trXMinF<0 (so that both axes have the same length,
>> then the missing values are plotted together with everything else. Any
>> ideas regarding this?
>> _______________________________________________
>
> Umm .. a quick test indicates a possible bug.
>
> You can use the "ind" function to pass only
> non-missing data:
>
>
> res_at_trXMinF =
> res_at_trXMaxF =
>
> i = ind(.not.ismissing(x) .and. ind(.not.ismissing(y) )
> res_at_tiMainString = "Scatter Plot: Missing Values: trXMinF/trXMaxF: ind"
> plot = gsn_csm_xy (wks,x(i), y(i), res)
>
> good luck
> D
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 20 2006 - 09:24:51 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 20 2006 - 14:36:52 MDT