Hi Roni,
The quickest way to do this is to create a new array with y values
greater than 6 set to @_FillValue
So, starting with array named "arr" and dimensioned (6,6)
arr2 = new((/8,6/),typeof(arr),arr@_FillValue)
arr2(:5,:) = (/ arr /)
delete(arr)
Note as well that if you are using the resource sfYArray that it will
need to be set correctly...
Good luck.
Adam
rravia_at_po-box.mcgill.ca wrote:
> Hi,
> I have two contour plots which I created with natgrids as in the first
> plot of example gsuns.ncl.
> Both plots have the same X value range but have different Y value range.
> For example, say that X values goes from 0 to 5 but Y values goes from 0
> to 5 in plot1 and 0 to 7 in plot2.
> I want to create plot1 so that the values in the Y axis will run from 0
> to 7 as in plot2 only the section between 5 to 7 will be blank.
> Is there a way to do that?
> Thanks, Roni.
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-- -------------------------------------------------------------- Adam Phillips asphilli_at_ucar.edu National Center for Atmospheric Research tel: (303) 497-1726 ESSL/CGD/CAS fax: (303) 497-1333 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list ncl-talk_at_ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talkReceived on Mon Jun 19 2006 - 13:43:02 MDT
This archive was generated by hypermail 2.2.0 : Mon Jun 19 2006 - 15:40:00 MDT