[ncl-talk] Changing the thickness of one Line? Resource, please.

Barry Lynn barry.h.lynn at gmail.com
Mon Nov 12 22:22:07 MST 2018


Hi:

That works now, thank you, but the script should also leave out "draw
(plot)."

Barry

On Mon, Nov 12, 2018 at 4:55 PM Mary Haley <haley at ucar.edu> wrote:

> Hi Barry,
>
> The script was originally intended to be used on a plot of contours over a
> map.  Since you just have a contour plot, change all occurrences of
> "plot at contour" to just "plot".
>
> --Mary
>
>
>
>
> On Sun, Nov 11, 2018 at 9:27 AM, Barry Lynn <barry.h.lynn at gmail.com>
> wrote:
>
>> Hello:
>>
>> I can't figure out why I am getting this error.  The program worked fine
>> until I tried to thicken one line.
>>
>> I don't see on the example page where I am suppose to define "contour."
>> I was trying to thicken the 5500 m contour line on a set of maps....
>>
>> Thanks.
>>
>> warning:Attempt to reference attribute (contour) which is undefined
>>
>> fatal:["Execute.c":8637]:Execute: Error occurred at or near line 102 in
>> file ./map_cld_top_temps_hgts_12_18utc.ncl
>>
>>
>> fatal:["Execute.c":8637]:Execute: Error occurred at or near line 417 in
>> file ./map_cld_top_temps_hgts_12_18utc.ncl
>>
>> On Thu, Nov 8, 2018 at 5:19 PM Mary Haley <haley at ucar.edu> wrote:
>>
>>> Barry,
>>>
>>> In order to set a particular line thickness to a different thickness
>>> than the other levels, you need to use an array of line thicknesses via
>>> cnLineThicknesses, where each value corresponds to a contour level.
>>>
>>> See example coneff_18.ncl at:
>>>
>>> http://www.ncl.ucar.edu/Applications/coneff.shtml
>>>
>>> It has a procedure called "set_contour_line_thickness" that allows you
>>> to specify which level to increase the thickness for.
>>>
>>> Hope this is what you need.
>>>
>>> --Mary
>>>
>>>
>>>
>>>
>>> On Thu, Nov 8, 2018 at 5:32 AM, Barry Lynn <barry.h.lynn at gmail.com>
>>> wrote:
>>>
>>>> Hi:
>>>>
>>>> I am reading through this page, and I can't find a resource to change a
>>>> nonzero line's thickness. For example, I want to change the thickness of
>>>> the 5400 m contour line, but not others.
>>>>
>>>>
>>>> https://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnContourZeroLineThicknessF
>>>>
>>>> Thank you.
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>
>> --
>> 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/20181113/6f33351a/attachment.html>


More information about the ncl-talk mailing list