<div dir="ltr"><div><div><div><div><div><div><div><div>DearAll,<br><br></div>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 (<a href="http://www.ncl.ucar.edu/Applications/Scripts/vector_4.ncl">http://www.ncl.ucar.edu/Applications/Scripts/vector_4.ncl</a>). <br><br></div>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.<br><br></div>Unforturnately, I have been given warnings like followings:<br>warning:cnLevelSelectionMode is not a valid resource<br>warning:cnMinLevelValF is not a valid resource<br>...<br><br></div>Could anyone who knows how to solve this problem shines some lights upon me?<br><br></div>NCL-talk may already answered similar problems before. I googled it and could not find any :(<br><br></div>Forgive my laziness.<br><br></div>Best regards,<br></div>Liang <br><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div>