<div dir="ltr"><div><div class="gmail_default" style="font-family:verdana,sans-serif">​How to find the answer as well as the answer:</div><div class="gmail_default" style="font-family:verdana,sans-serif"><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/lb.shtml#lbLabelBarOn" target="_blank">https://www.ncl.ucar.edu/Document/Graphics/Resources/lb.shtml#lbLabelBarOn</a></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><p style="margin:10px 0px 20px;padding:0px;color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13px;line-height:16px"></p><div class="gmail_default" style="font-family:verdana,sans-serif;display:inline">​&quot;​</div>This resource may be intercepted or disabled by:<p></p><ul style="margin:0px 0px 5px;padding:0px;list-style-position:inside;color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:13px;line-height:16px"><li style="margin:0px;padding:0px 0px 0px 25px;font-size:10pt;line-height:12pt;color:rgb(51,51,51)"><a href="https://www.ncl.ucar.edu/Document/HLUs/Classes/PlotManager.shtml" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133)" target="_blank"><strong style="margin:0px;padding:0px">PlotManager</strong></a></li></ul><div class="gmail_default" style="font-family:verdana,sans-serif">​&quot;</div><div class="gmail_default" style="font-family:verdana,sans-serif">ok so the plot manager must be intercepting or disabling the labelbar. Follow the link and look for relevant Labelbar options.</div><br></div><div><span style="font-family:verdana,sans-serif"><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/pm.shtml#pmLabelBarDisplayMode" target="_blank">https://www.ncl.ucar.edu/Document/Graphics/Resources/pm.shtml#pmLabelBarDisplayMode</a></span><br></div><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif">​so if you set it to always it will force it to be created. ​</div><br></div> res@pmLabelBarDisplayMode = &quot;Always&quot;<div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">This worked for me, maybe there is a better way though. </div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Alan </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 April 2015 at 09:15, xiaoming Hu <span dir="ltr">&lt;<a href="mailto:yuanfangcan@hotmail.com" target="_blank">yuanfangcan@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hello <br><br><div>
  

    
  
  
    I would like to show spatial distribution just using contour lines
    and using the line colors to show the magnitude. Like the figure
    below.<br>
    So basically setting   res@cnFillOn               = False ;<br>
    But by doing so, the color bar is automatically turned off.     How
    can I still show the color bar to illustrate the level each line
    color represents? <br>
    <br>
    <img src="cid:part1.08080402.00010404@ou.edu" alt=""><br>
    <br>
    Thanks a lot!<span class="HOEnZb"><font color="#888888"><br>
    Xiaoming <br></font></span></div>                                               </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>