[ncl-talk] Contour map in ncl 6.6. 2

Md. Jalal Uddin dmjalal90 at gmail.com
Sun Dec 6 18:14:50 MST 2020


Hello sir,

It does not work.

On Sun, 6 Dec 2020 at 22:35, Rashed Mahmood <rashidcomsis at gmail.com> wrote:

> Hi Jalal,
> You could try the following for changing background and foreground colors:
>
>   setvalues wks
>     "wkForegroundColor" : (/0.,0.,0./)
>     "wkBackgroundColor" : (/1.,1.,1./) ;white
>   end setvalues
>
> If that does not work, then a full script (and an example data file) may help to look into it.
>
> Cheers,
>
> Rashed
>
>
> On Sun, Dec 6, 2020 at 5:29 AM Md. Jalal Uddin via ncl-talk <
> ncl-talk at mailman.ucar.edu> wrote:
>
>> Hi all,
>>
>> I used the following resources that were suggested by Hoffman. These
>> resources work fine for png output files; however, the "ps" output gives me
>> a dark background (please see the attachment). What should I do?
>>
>>    res at cnRasterSmoothingOn   = True
>>    res at cnFillMode                      = "RasterFill"     ; Turn on
>> raster color
>>
>>
>> Best regards,
>> Jalal
>>
>> On Sat, 31 Oct 2020 at 17:42, Hoffman <hoffmancheung at gmail.com> wrote:
>>
>>> Hi Jalal
>>>
>>> I guess you want the shading to be smooth (looks nicer).
>>>
>>> You may set also cnRasterSmoothingOn be True if you have to use V6.6.2.
>>>
>>> Hoffman
>>>
>>> Md. Jalal Uddin <dmjalal90 at gmail.com>於2020年10月31日 17:26寫道:
>>>
>>> 
>>> Hi Hoffman,
>>>
>>> Yes, you are right. I don't want to use "RasterFill", so what is the
>>> solution?
>>>
>>> Best regards,
>>> Jalal
>>>
>>> On Sat, 31 Oct 2020 at 14:03, Hoffman <hoffmancheung at gmail.com> wrote:
>>>
>>>> Hi Jalal
>>>>
>>>> Please try setting cnFillMode be "RasterFill".
>>>>
>>>> If the plot has contour lines and shows the contour labels, DO NOT set
>>>> cnLabelMasking be True. Otherwise, contour lines would become "transparent"
>>>>
>>>> I am using Ubuntu 18.04 and 20.04. Both versions have the above
>>>> problems.
>>>>
>>>> Best Regards,
>>>> Hoffman
>>>>
>>>>
>>>> Md. Jalal Uddin via ncl-talk <ncl-talk at mailman.ucar.edu>於2020年10月31日
>>>> 08:50寫道:
>>>>
>>>> 
>>>> Hi all,
>>>>
>>>> Why am I not getting the contour colour in the map in ncl 6.6.2?
>>>>
>>>> Any suggestions would be appreciated?
>>>>
>>>> Best wishes,
>>>> Jalal
>>>> --
>>>> *Md. Jalal Uddin*
>>>> Founder and Director of Research Society (
>>>> https://researchsociety20.org/founder-and-director/)
>>>> PhD candidate - Atmospheric Physics and Atmospheric Environment (NUIST)
>>>> M.Sc. in Applied Meteorology (NUIST)
>>>> B.Sc. in Disaster Management (PSTU)
>>>> Email: dmjalal90 at nuist.edu.cn
>>>> Personal website: https://dmjalal90.weebly.com/
>>>> Research gate profile: https://www.researchgate.net/profile/Md_Uddin125
>>>>
>>>> YouTube channel: http://www.youtube.com/c/MdJalalUddindmjalal90
>>>> Cell: +8613260859092, +8801792052662
>>>> <climatology.ncl>
>>>> <climo.000002.png>
>>>> <climo.000001.png>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at mailman.ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>> --
>>> *Md. Jalal Uddin*
>>> Founder and Director of Research Society (
>>> https://researchsociety20.org/founder-and-director/)
>>> PhD candidate - Atmospheric Physics and Atmospheric Environment (NUIST)
>>> M.Sc. in Applied Meteorology (NUIST)
>>> B.Sc. in Disaster Management (PSTU)
>>> Email: dmjalal90 at nuist.edu.cn
>>> Personal website: https://dmjalal90.weebly.com/
>>> Research gate profile: https://www.researchgate.net/profile/Md_Uddin125
>>>
>>> YouTube channel: http://www.youtube.com/c/MdJalalUddindmjalal90
>>> Cell: +8613260859092, +8801792052662
>>>
>>>
>>
>> --
>> *Md. Jalal Uddin*
>> Founder and Director of Research Society (
>> https://researchsociety20.org/founder-and-director/)
>> PhD candidate - Atmospheric Physics and Atmospheric Environment (NUIST)
>> M.Sc. in Applied Meteorology (NUIST)
>> B.Sc. in Disaster Management (PSTU)
>> Email: dmjalal90 at nuist.edu.cn
>> Personal website: https://dmjalal90.weebly.com/
>> Research gate profile: https://www.researchgate.net/profile/Md_Uddin125
>> YouTube channel: http://www.youtube.com/c/MdJalalUddindmjalal90
>> Cell: +8613260859092, +8801792052662
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at mailman.ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> https://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>

-- 
*Md. Jalal Uddin*
Founder and Director of Research Society (
https://researchsociety20.org/founder-and-director/)
PhD candidate - Atmospheric Physics and Atmospheric Environment (NUIST)
M.Sc. in Applied Meteorology (NUIST)
B.Sc. in Disaster Management (PSTU)
Email: dmjalal90 at nuist.edu.cn
Personal website: https://dmjalal90.weebly.com/
Research gate profile: https://www.researchgate.net/profile/Md_Uddin125
YouTube channel: http://www.youtube.com/c/MdJalalUddindmjalal90
Cell: +8613260859092, +8801792052662
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201207/0f8d689e/attachment.html>


More information about the ncl-talk mailing list