[ncl-talk] Color vector plot using a scalar field

Dennis Shea shea at ucar.edu
Fri Jun 3 08:55:53 MDT 2016


The example shows coloring of the vectors (vc)  .... not contours (cn).

http://www.ncl.ucar.edu/Document/Graphics/Resources/vc.shtml


    vcres at vcLevelSelectionMode  = "ManualLevels"
    vcres at vcLevelSpacingF       =
    vcres at vcMinLevelValF        =
    vcres at vcMaxLevelValF        =


On Fri, Jun 3, 2016 at 5:22 AM, Liang Guo <liang.guo.81 at gmail.com> wrote:

> DearAll,
>
> Currently, I am trying to color a vector plot using a scalar field. I
> found a great example on NCL Examples, i.e., vector_4.ncl (
> http://www.ncl.ucar.edu/Applications/Scripts/vector_4.ncl).
>
> Based on this example, I would like to have a bit more control over the
> color. Therefore, I tries resources that are used to control contours,
> e.g.,  cnLevelSelectionMode, cnMinLevelValF, cnLevelSpacingF, etc.
>
> Unforturnately, I have been given warnings like followings:
> warning:cnLevelSelectionMode is not a valid resource
> warning:cnMinLevelValF is not a valid resource
> ...
>
> Could anyone who knows how to solve this problem shines some lights upon
> me?
>
> NCL-talk may already answered similar problems before. I googled it and
> could not find any :(
>
> Forgive my laziness.
>
> Best regards,
> Liang
>
>
> _______________________________________________
> 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/20160603/2fab54d2/attachment.html 


More information about the ncl-talk mailing list