Re: A question on the tickmark

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Wed, 31 Jan 2007 10:33:10 -0700

Hi Lin,

The only way to modify the automatically created NCL zonal mean plot is
to use setvalues after the plot has been created. Make sure you set
gsnFrame and gsnDraw = False and then call draw/frame after the
modifications are done...

example:
....
res_at_gsnZonalMean = True
res_at_gsnDraw = False
res2gsnFrame = False
plot = gsn_csm_contour(wks,arr,res)
setvalues plot_at_xy
; "trXMinF" : 0.0 ; not needed
; "trXMaxF" : 5.0
   "tmXBMode": "Explicit"
   "tmXBValues" : (/"0.","1.","2.","3.","4.","5."/)
   "tmXBLabels" : (/"","1.0","2.0","3.0","4.0","5.0"/)
end setvalues
draw(plot)
frame(wks)

Good luck,
Adam

LEO_ARIES wrote:
> Hi, all
>
> I have attached a plot (A, a global wavelet power plot ) to another
> plot (B, a wavelet power contour),
>
> but find that the leftmost tickmark of A and the rightmost tickmark
> of B are overlaid (see attached 1.eps) .
>
> I want to set the leftmost tickmark of A unseen , but don't know how
> to get it. Anyone can help me?
> Thanks!
>
>
>
> Good Luck
>
>
>
>
>
> Lin
>
>
>
>
>
>
> ------------------------------------------------------------------------
> LEO_ARIES
> 2007-01-28
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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-talk
Received on Wed Jan 31 2007 - 10:33:10 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 06 2007 - 15:01:34 MST