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

Md. Jalal Uddin dmjalal90 at gmail.com
Mon Dec 7 20:01:18 MST 2020


Thank you all for your kind help. I used ImageMagick's 'convert' method to
convert "png" file into "ps" file format. However, the output file is not
editable.

On Mon, 7 Dec 2020 at 23:55, Rashed Mahmood <rashidcomsis at gmail.com> wrote:

> Hi Jalal,
>
> Maybe you should just generate a png and then use ImageMagick's 'convert'
>
> %> convert foo.png foo.ps
>
> Thanks Dennis, for this information!
>
> Cheers,
> Rashed
>
>
>
>
>
> On Mon, Dec 7, 2020 at 4:34 PM Md. Jalal Uddin <dmjalal90 at gmail.com>
> wrote:
>
>> Yes, sir. I will.
>>
>> On Mon, 7 Dec 2020 at 17:59, Rashed Mahmood <rashidcomsis at gmail.com>
>> wrote:
>>
>>> Can you send a full script and a data file? You can send me offline, if
>>> you prefer not to share with the forum.
>>>
>>> On Mon, Dec 7, 2020 at 2:13 AM Md. Jalal Uddin <dmjalal90 at gmail.com>
>>> wrote:
>>>
>>>> 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
>>>>
>>>
>>
>> --
>> *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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20201208/a619971d/attachment.html>


More information about the ncl-talk mailing list