[ncl-talk] Plot a portion of data
Adam Phillips
asphilli at ucar.edu
Thu Oct 11 11:54:39 MDT 2018
Hi Geeta,
The displayed range of the axes is set by using
trYMinF/trYMaxF/trXMinF/trXMaxF. See example #5 here:
http://www.ncl.ucar.edu/Applications/xy.shtml#ex5
Adam
On Thu, Oct 11, 2018 at 11:31 AM Geeta Geeta <geetag54 at yahoo.com> wrote:
> Hi all.
> I have manually created an 2 dim array
> N = new((/61,80/),"integer") ; 80 columns
> (of height), 60 rows of Ze staring from 0-60Z) 2Dim arrary
> N at _FillValue = -999
> N = 0
> N!0 = "reflectivity" ; outermost dim
> N!1 = "height" ; inner dim
> printVarSummary(N)
>
> I have plotted this data using gsn_csm_contour with X axis as the height
> (80 values) and Y axis as reflecivity (61 values)
> The valid data starts only from N(17,0:79) as shown in the plot.
>
> My problem is that I want the Y axis to start from 17 itself. As can be
> seen from the plot that there are no values in the left bottom of the
> curve.
> if that part is removed, the plot will be clearer.
>
> thank you
> Geeta.
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
--
Adam Phillips
Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181011/abc59b7e/attachment.html>
More information about the ncl-talk
mailing list