Re: Problems of tick mark for the plots with wrfout files

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Apr 23 2013 - 09:54:40 MDT

You have limited control over map tickmarks.

First, you don't want to use "wrf_mapres_c" as this is out-of-date.
Use wrf_map_resources instead.

http://www.ncl.ucar.edu/Document/Functions/WRF_arw/wrf_map_resources.shtml

If you need more control over your map tickmarks, please see the
examples at:

http://www.ncl.ucar.edu/Applications/mptick.shtml

In particular, look at mptick_4.ncl and mptick_9.ncl

--Mary

On Tue, 23 Apr 2013 10:03:26 +0800
  "astroqing" <astroqing@gmail.com> wrote:
> Hi,
>
> I use NCL to draw with wrfout files. I want to modified the tick
>marks for both X and Y axes, and the sentences I used are follows,
>
> a = addfile("wrfout.nc","r")
> res = True
> wrf_mapres_c(a,res,0)
> res@tmXBMode = "Explicit"
> res@tmXBValues =(/110,115,120,125/)
> res@tmXBLabels =(/"110","115","120","125"/)
> res@tmYLMode = "Explicit"
> res@tmYLValues =(/30,35,40,45/)
> res@tmYLLabels =(/"30","35","40","45"/)
> plot = gsn_csm_contour_map(wks,rain,res)
>
> But those resources seem to work unproperly, and NCL return me the
>information that as follows,
>
> warning:MapPlotSetValues: tm[XB|XT|YL|YR]Mode resources are not
>currently enabled for MapPlot tick marks
> warning:tmYLValues is not a valid resource in map at this time
> warning:tmYLLabels is not a valid resource in map at this time
> warning:tmXBValues is not a valid resource in map at this time
> warning:tmXBLabels is not a valid resource in map at this time
>
> Could you tell me how to solve this problem, if I want to modify the
>tick mark for the plots with wrfout files?
> Thanks a lot!
>
> Tao
>
>
> 2013-04-23
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Apr 23 09:54:52 2013

This archive was generated by hypermail 2.1.8 : Tue Apr 23 2013 - 12:54:13 MDT