Re: Problem of Y-axis of contour plots

From: Adam Phillips (asphilli AT cgd.ucar.edu)
Date: Thu Jan 13 2005 - 11:17:18 MST

  • Next message: Bob Tomas: "trouble with gsn_csm_vector_scalar_map_ce"

    Hi Shuhua,

    Try setting the resource vpHeightF, which should set each plot to the same
    height.
    See http://ngwww.ucar.edu/ngdoc/ng/ref/hlu/obj/View.res.html

    Adam

    >Delivered-To: asphilli@ucar.edu
    >Delivered-To: ncl-talk@ucar.edu
    >From: "S. Yi" <yis2@univmail.cis.mcmaster.ca>
    >To: ncl-talk@ucar.edu
    >Date: Thu, 13 Jan 2005 12:19:22 -0500
    >MIME-Version: 1.0
    >Content-Transfer-Encoding: 8bit
    >X-Mailman-Approved-At: Thu, 13 Jan 2005 11:14:14 -0700
    >Subject: Problem of Y-axis of contour plots
    >X-BeenThere: ncl-talk@ucar.edu
    >X-Mailman-Version: 2.1.1
    >List-Id: NCAR Command Language User Group <ncl-talk.ucar.edu>
    >List-Unsubscribe: <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>,
    <mailto:ncl-talk-request@ucar.edu?subject=unsubscribe>
    >List-Post: <mailto:ncl-talk@ucar.edu>
    >List-Help: <mailto:ncl-talk-request@ucar.edu?subject=help>
    >List-Subscribe: <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>,
    <mailto:ncl-talk-request@ucar.edu?subject=subscribe>
    >
    >Hello,
    >
    > I ploted three plots in one panel.
    >
    > First one is contour of measured soil temperature
    > Depths of measurement are 2, 5, 10 , 50, 100 cm
    >
    > Second is contour of modelled soil temperature
    > Depths of model nodes are 0.7, 2.8, 6.2, 11.9, 21, 37, 62, 103 cm
    >
    > Third is X-Y plot for predicted front depth.
    >
    >
    > Contour plots use Log axis for Y-axis automatically, although I use
    > resourse@trYLog = False
    >
    > Since I cannot plot all three figures using linear Y axis, I try to
    >plot all three using log axis, and use following resources
    > resourse@tmYLValues=(/0,20, 40, 60, 80/)
    > resourse@tmYLLabels=(/0,20, 40, 60, 80/)
    >
    > However, the distances in the Y-axis between 0 and 20 for three
    >figures are all different from each other.
    >It is hard to compare them.
    >
    > My questions are:
    >
    > First, how to force the contour figure to use linear axis.
    >
    > Second, how to make all three y-axis have the same scale.
    >
    > Thanks a lot
    >
    >Yi, Shuhua
    >School of Geography and Geology
    >McMaster University
    >Hamilton, ON, CA L8S 4K1
    >--------------------------------
    >Office: GSB-221
    >Phone: 905-525-9140 Ext. 24776
    >--------------------------------
    >_______________________________________________
    >ncl-talk mailing list
    >ncl-talk@ucar.edu
    >http://mailman.ucar.edu/mailman/listinfo/ncl-talk

    -------------------------------------------------------------
    Adam Phillips email: asphilli@ucar.edu
    Climate and Global Dynamics Division tel: (303) 497-1726
    National Center for Atmospheric Research fax: (303) 497-1333
    P.O. Box 3000
    Boulder, CO 80307-3000 http://www.cgd.ucar.edu/~asphilli

    _______________________________________________
    ncl-talk mailing list
    ncl-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncl-talk



    This archive was generated by hypermail 2b29 : Thu Jan 13 2005 - 13:34:34 MST