<div dir="ltr"><div><div><div><div><div>I can only guess about the second part of your question, as there was no example provided of what was wrong. If you want those four very specific colors, you might want to set explicitly set cnFillColors :<br><br><a href="http://ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnFillColors">http://ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnFillColors</a><br><br></div>In your case, something like:<br><br></div>res@cnFillColors = (/ 2, 3, 4, 5/)<br><br></div>Where those numbers are the indexes (zero-based) of the colors set in your workstation colormap.<br><br><br></div>Make sense?<br><br></div>Rick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 4:04 AM, Geeta Geeta <span dir="ltr"><<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:12pt"><div><span></span></div><div></div><div>I posted this problem a few minutes ago. I have a few questions pertaining to that. </div><div>I want to know why the NEPAL, Pakistan etc countries are not marked in Blue Color. the Figure is attached and the Mp resources used are shown below. </div><div>;---------------------------<br>;Map resouces------------------<br><a href="mailto:res@mpFillOn" target="_blank">res@mpFillOn</a> = False<br>;res@mpOutlineOn = True<br><a href="mailto:res@mpOutlineBoundarySets" target="_blank">res@mpOutlineBoundarySets</a> = "National"<br><a href="mailto:res@mpGeophysicalLineColor" target="_blank">res@mpGeophysicalLineColor</a> = "Blue" ;Color of Conuntry Outline<br><a href="mailto:res@mpGeophysicalLineThicknessF" target="_blank">res@mpGeophysicalLineThicknessF</a> = 1.5 ;thickness of Country
Outline<br><a href="mailto:res@mpMinLonF=50" target="_blank">res@mpMinLonF=50</a><br><a href="mailto:res@mpMaxLonF=120" target="_blank">res@mpMaxLonF=120</a><br><a href="mailto:res@mpMinLatF=5" target="_blank">res@mpMinLatF=5</a><br><a href="mailto:res@mpMaxLatF=35" target="_blank">res@mpMaxLatF=35</a><br>;</div><div><br></div><div>The second question. I have not selected the BLACK color for surfaceRain greater than 30mm/hr. How NCL is selecting the colors???. </div><div>My color scheme can be seen in the attached script. Color section of the script looks like..............</div><div>;-------------------------------<br> xwks=gsn_open_wks("ps",fili+var_name)<br>colors =(/"white","black","white","royal blue","yellow","red"/)<br>gsn_define_colormap(xwks,colors)<br>;<br></div><div> This figure on Website can be seen on the link(<a href="ftp://disc2.nascom.nasa.gov/ftp/data/s4pa/TRMM_L2/2A12_BR.6/2009/135/2A12_BR.090515.65505.6.PNG" target="_blank">ftp://disc2.nascom.nasa.gov/ftp/data/s4pa/TRMM_L2/2A12_BR.6/2009/135/2A12_BR.090515.65505.6.PNG</a>)<br></div><div><br></div><div>I am trying to reproduce this figure in the same form. </div><div><br></div><div>Hope somebody will suggest. I am very new to NCL. </div><span class="HOEnZb"><font color="#888888"><div>Geeta. </div></font></span></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>