Re: Hovmueller Plot, minor ticks disappear..

From: antonio avio <antonioavio_at_nyahnyahspammersnyahnyah>
Date: Wed Sep 12 2012 - 10:36:39 MDT

Hi,
I just figured it out. It should be:

  res@tmYLMode = "Explicit"
  res@tmYLMinorValues = origData&time(::1) ;*YLMinorValues <YLValues*
  res@tmYLValues = origData&time(::5)
  res@tmYLLabels = ut_string(origData&time(::5),"%d %c")

Thanks,

On Wed, Sep 12, 2012 at 6:31 PM, antonio avio <antonioavio@googlemail.com>wrote:

> Hallo,
>
> Thanks Mary, but nothing happens when i set res@tmYLMinorValues =
> origData&time(::5) as follow. The minor ticks are still absent from the
> left Y Axis.
>
> res@tmYLMode = "Explicit"
> res@tmYLMinorValues = origData&time(::5)
> res@tmYLValues = origData&time(::5)
> res@tmYLLabels = ut_string(origData&time(::5),"%d %c")
>
> Thanks
> --
>
>
> On Wed, Sep 12, 2012 at 6:08 PM, Mary Haley <haley@ucar.edu> wrote:
>
>> 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:36:49 2012

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