[ncl-talk] Y pressure axis

Adam Phillips asphilli at ucar.edu
Tue Oct 8 11:53:29 MDT 2019


Hi Laura,
Try setting trYAxisType = "LogAxis" for your xy plot. According to the
gsn_csm_pres_hgt
documentation
<https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_pres_hgt.shtml>
:
"The left Y-axis will be labeled with reverse log pressure values"

If that does not work let ncl-talk know.
Adam

On Tue, Oct 8, 2019 at 8:31 AM Laura Fowler via ncl-talk <ncl-talk at ucar.edu>
wrote:

> Hello:
>
> I would like the Y axis (see 1Dcondensates.png) to look like the Y axis of
> the longitude versus pressure cross-section in 2Dcondensates.png. I used
> the function gsn_csm_xy for the 1D plot and gsn_csm_pres_hgt for the 2D
> plot. I looked in the XY plot web page but did not see something similar.
>
> Do I need to use explicit axis labeling as in example xy_6.ncl, or am I
> just "missing" something?
>
> Many thanks,
> Laura
>
>
>
>
> --
>
> !-------------------------------------------------------------------------------------------------------------
> Laura D. Fowler
>
> Mesoscale and Microscale Meteorology Division (MMM)
> National Center for Atmospheric Research
> P.O. Box 3000, Boulder CO 80307-3000
>
> e-mail: laura at ucar.edu
> phone: 303-497-1628
>
>
> !-------------------------------------------------------------------------------------------------------------
> _______________________________________________
> 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/20191008/463dc8f0/attachment.html>


More information about the ncl-talk mailing list