[ncl-talk] adjust cnLevelSpacing
Dennis Shea
shea at ucar.edu
Sat Dec 30 13:34:52 MST 2017
There are *many* examples on the Applications page: For example:
res at cnLevelSelectionMode = "ExplicitLevels"
res at cnLevels = (/ 0, 500, 1000, 1400, 1700, 2000, 2200, 2400 /)
====
res at cnLevelSelectionMode = "ExplicitLevels"
res at cnLevels = (/0.1,1,2.5,5,10,15,20,25,50,75/) ; "mm/day"
res at cnFillPalette = (/"Snow","PaleTurquoise","PaleGreen","SeaGreen3"
,"Yellow" \ ; contour colors
,"Orange","HotPink","Red","Violet",
"Purple", "Brown"/) ; one more color than contour levels
========
https://www.ncl.ucar.edu/Applications/
At the top
List of tips <https://www.ncl.ucar.edu/Applications/concepts_list.shtml>,
resources <https://www.ncl.ucar.edu/Applications/res_list.shtml>,
functions/procedures <https://www.ncl.ucar.edu/Applications/func_list.shtml>
and the example scripts they appear in.
Click on resources <https://www.ncl.ucar.edu/Applications/res_list.shtml>
Then search for
* "cnLevelSelectionMode"*
On Fri, Dec 29, 2017 at 11:12 PM, juki juki via ncl-talk <ncl-talk at ucar.edu>
wrote:
> Thanks Arka for your response. Could you provide a simple example?
>
> Thank you
>
> Ed
>
>
> On Saturday, December 30, 2017, 1:02:56 PM GMT+7, Arka Banerjee <
> arka354deb at gmail.com> wrote:
>
>
> Set colorbar according to your level of interest by hard coding.
>
> Arka
>
> On Dec 30, 2017 07:36, "juki juki via ncl-talk" <ncl-talk at ucar.edu> wrote:
>
> Hi all;
>
> Is there any way to adjust cnLevelSpacing ?
>
> currently I set as:
>
> res1 at cnLevelSelectionMode = "ManualLevels" ; Set contour levels
> res1 at cnMinLevelValF = 0 ; the same for each plot.
> res1 at cnMaxLevelValF = 3000
> res1 at cnLevelSpacingF = 300
>
> However, the plot is not so clear, so I plan to adjust the interval of
> contour for example: 0, 500, 1000, 1400, 1700, 2000, 2200, 2400, etc.
> Thus, the value of cnLevelSpacingF is not uniform. If you have idea or
> experience to do it, please share with me, really appreciate it.
>
> Thank you.
>
> Edward
>
> ______________________________ _________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/ mailman/listinfo/ncl-talk
> <http://mailman.ucar.edu/mailman/listinfo/ncl-talk>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171230/b207dcdc/attachment.html>
More information about the ncl-talk
mailing list