Re: Hovmueller Plot, minor ticks disappear..

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Sep 12 2012 - 10:08:48 MDT

Hi,

When you set tmYLMode to Explicit, the minor tickmarks are turned off, unless you also set tmYLMinorValues. Please see:

http://www.ncl.ucar.edu/Document/Graphics/Resources/tm.shtml#tmYLMinorValues

Perhaps you could try something like:

  res@tmYLMinorValues = origData&time(::5)

--Mary

On Sep 12, 2012, at 9:14 AM, antonio avio wrote:

> Hi NCL users,
>
> Anybody can give me a hint how to turn on the minor ticks in the Hovmöller plot. I did the setting like this but It is still not working:
>
> res@tmYLMode = "Explicit"
> res@tmYLMinorOn = True
> res@tmYLValues = origData&time(::15)
> res@tmYLLabels = ut_string(origData&time(::15),"%d %c")
>
> then i change the script as follow by calling the tTick.ncl:
>
> resTick = True
> resTick@ttFormat = "%d %c"
> resTick@ttAxis = "YL"
> resTick@ttMajorStride = 15
> tTick( origData&time, res, resTick )
>
> I got this error:
>
> fatal:Variable (time_at_units) is undefined
> fatal:Execute: Error occurred at or near line 156 in file ./tTick.ncl
>
> fatal:Execute: Error occurred at or near line 133
>
>
> Thanks
>
>
>
>
>
>
> <Screenshot.png><tTick.ncl>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Sep 12 10:08:55 2012

This archive was generated by hypermail 2.1.8 : Thu Sep 13 2012 - 14:22:31 MDT