Re: Getting XY contour to ignore missing data

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 28 Oct 2004 07:52:21 -0600 (MDT)

>
> I have an X/Y array that I am trying to contour it. Normally everything
> works great but I just ran into the problem of a missing value in the plot.
> I am filling the missing value with 1.0+e10. I have set caYMissingV and
> caXMissingV to the appropriate value and I get the following error:
>
> warning:caYMissingV is not a valid resource in contour at this time
> warning:caXMissingV is not a valid resource in contour at this time
>
> I want the missing data to be ignored, instead of getting a big bulls eye,
> if that is possible. Can I do this?
>
> Thanks,
>
> John C. Ertl
> Fleet Numerical Meteorology & Oceanography Center

Hi John,

I'm not sure I fully understand. If you want to contour data, you
either need to have a 2-dimensional field, or else have three
1-dimensional arrays that represent the X and Y locations of the data,
and the data itself.

The caXXXXX resources are for XY line/marker plots only. To create
contours, you need to use the sfXXXXX resources.

To see an example of creating a contour plot, type:

    pynglex ngl02p

This will create a 5-frame PostScript file called "ngl02p.ps" with
several types of contour plots. Let me know if this doesn't
answer your question.

--Mary
 
-------------------------------------------------
Mary Haley haley_at_ucar.edu
NCAR/SCD/VETS 303-497-1254 (voice)
1850 Table Mesa Dr 303-497-1804 (fax)
Boulder, CO 80305
-------------------------------------------------
_______________________________________________
pyngl-talk mailing list
pyngl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Oct 28 2004 - 07:52:41 MDT

This archive was generated by hypermail 2.2.0 : Thu Jan 19 2006 - 21:30:17 MST