[ncl-talk] trying to label x-axis

Barry Lynn barry.h.lynn at gmail.com
Sat Oct 27 21:19:51 MDT 2018


  Thanks.  I needed to add another line. Now, it works fine (attached for
reference -- data also).


Program reads csv files (labeled "file," but they are csv).


  res at tmXBMode = "Explicit"

  res at tmXBLabelsOn = True

  *res at tmXBValues        = xaxis*                   ; location of labels

  res at tmXBLabels =(/"0.1","0.5","1.0","1.5","2.0"/)


Note: the dashed patterns are set automatically. If you wanted to set them,
you should use this resource.


https://www.ncl.ucar.edu/Document/Graphics/dash_patterns.shtml

On Sat, Oct 27, 2018 at 10:02 PM Guido Cioni <guidocioni at gmail.com> wrote:

> Barry you are typing it wrong.
>
> It's tmXBLabels, not tmXlLabels. The error is telling you exactly where
> the problem is.
>
> Il sab 27 ott 2018, 21:53 Barry Lynn <barry.h.lynn at gmail.com> ha scritto:
>
>> Yes, thanks.
>>
>>   res at tmXBMode = "Explicit"
>>
>>   res at tmXBLabelsOn = True
>>
>>   res at tmXlLabels =(/"0.1","0.5","1.0","1.5","2.0"/)
>>
>>
>> But,
>>
>> .
>>
>> warning:tmXlLabels is not a valid resource in winter_2013_14_Stats_1_xy
>> at this time
>>
>>
>> I don't see any help on this...
>>
>> On Sat, Oct 27, 2018 at 8:48 PM Guido Cioni <guidocioni at gmail.com> wrote:
>>
>>> Just look at this page
>>> https://www.ncl.ucar.edu/Document/Graphics/Resources/tm.shtml.
>>>
>>> Do you see a tmXlLabels somewhere?? :)
>>>
>>> There are only two resources for the tick marks of the X-axis. tmX*B*Labels
>>> (X axis, Bottom) and tmX*T*Labels (X axis, Top)
>>>
>>> Il giorno 27 ott 2018, alle ore 20:28, Barry Lynn <
>>> barry.h.lynn at gmail.com> ha scritto:
>>>
>>> <merge_plot_stats_file_4mod.ncl>
>>>
>>>
>>>
>>
>> --
>> Barry H. Lynn, Ph.D
>> Senior Associate Scientist, Lecturer,
>> The Institute of the Earth Science,
>> The Hebrew University of Jerusalem,
>> Givat Ram, Jerusalem 91904, Israel
>> Tel: 972 547 231 170
>> Fax: (972)-25662581
>>
>> C.E.O, Weather It Is, LTD
>> Weather and Climate Focus
>> http://weather-it-is.com
>> Jerusalem, Israel
>> Local: 02 930 9525
>> Cell: 054 7 231 170
>> Int-IS: x972 2 930 9525
>>
>>

-- 
Barry H. Lynn, Ph.D
Senior Associate Scientist, Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181028/3245567a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge_plot_stats_file_4mod.ncl
Type: application/octet-stream
Size: 6733 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181028/3245567a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prec_stats_day2_12.0km_r12_nocu.file
Type: application/octet-stream
Size: 566 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181028/3245567a/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prec_stats_day2_1.3km_r12.file
Type: application/octet-stream
Size: 566 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181028/3245567a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prec_stats_day2_12.0km_r12.file
Type: application/octet-stream
Size: 566 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181028/3245567a/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prec_stats_day2_4.0km_r12.file
Type: application/octet-stream
Size: 566 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181028/3245567a/attachment-0004.obj>


More information about the ncl-talk mailing list