how to reset tmYLValues

From: Mingxuan Chen <chen_at_nyahnyahspammersnyahnyah>
Date: Wed Apr 14 2010 - 16:24:11 MDT

Hello,
  I 'd like to draw a panel with two gsn_csm_xy plot. Each plot has different range of y values.
  In first plot I set
    res@tmYLMode="Explicit"
    res@tmYLValues=(/0,5,10,15/)
    res@tmYLLabels=(/"0","5","10","15"/)
   it is working.

 in second plot I set
    res@tmYLValues=(/20,25,30,35,40/) ; line 426
    res@tmYLLabels=(/"20","25","30","35","40"/)
  I have error message:
fatal:Dimension size of attribute and right-hand side of assignment do not match
fatal:Execute: Error occurred at or near line 426 in file ann_2.ncl
if in second plot I set
    res@tmYLValues=(/20,25,30,35/)
    res@tmYLLabels=(/"20","25","30","35"/)
   it is working.
  How can I reset tmYLValues which dimension is different from previous setting?
   Thanks for your help
Mingxuan

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Apr 14 16:24:24 2010

This archive was generated by hypermail 2.1.8 : Fri Apr 16 2010 - 16:21:29 MDT