<div dir="ltr"><div><div><div><div><div>Hi Sebastián,<br></div>Note that the example you pointed to shows all 252 colors of the BlueRed colormap, while your example only has 21 contours and thus would only show 22 colors. <br><br></div>You can turn the label bar boxes off by setting lbBoxLinesOn = False<span style="font-weight:normal"><strong>. </strong>See example #18 here:<br><a href="http://www.ncl.ucar.edu/Applications/labelbar.shtml#ex18">http://www.ncl.ucar.edu/Applications/labelbar.shtml#ex18</a><br><br></span></div><span style="font-weight:normal">By turning that resource off, and by using say 100+ colors (and thus 100+contours), one can get the label bar to look continuous.<br><br></span></div><span style="font-weight:normal">Hope that helps. If not, please respond to the ncl-talk email list.<br></span></div><span style="font-weight:normal">Adam<br></span><div><div><div><div><span style="font-weight:normal"><br></span></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 5, 2015 at 3:05 PM, Sebastian Otarola-Bustos <span dir="ltr">&lt;<a href="mailto:Sebastian.F.Otarola-Bustos.1@nd.edu" target="_blank">Sebastian.F.Otarola-Bustos.1@nd.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br>Hi everyone, I want to modify a colorbar, only to show the higher and lower values, and also I don&#39;t want to see one box per color. I would like to see something continuous like this: <br><br><a href="http://www.ncl.ucar.edu/Document/Graphics/ColorTables/Images/BlueRed_ce.png" target="_blank">http://www.ncl.ucar.edu/Document/Graphics/ColorTables/Images/BlueRed_ce.png</a><br><br>Somebody knows the resources I need to set up to be able to do this?<br><br>These are the resources I&#39;m using for the temperature contour:<br><br><br><div> ;Temperature Options</div><div> Tres@cnFillOn = True</div><div> Tres@cnInfoLabelOn =  False</div><div> Tres@cnLineLabelsOn = False</div><div> Tres@cnLinesOn = False</div><div> Tres@cnLevelSelectionMode = &quot;ExplicitLevels&quot;</div><div> Tres@cnLevels=ispan(-500,500,50)*10^(-2)</div><div> Tres@cnLineThicknessF = 4.0</div><div> Tres@cnLineColor = &quot;red&quot;</div><div> Tres@cnLineLabelPlacementMode = &quot;constant&quot;</div><div> Tres@cnLineLabelFontColor = &quot;red&quot;                                 </div><div> Tres@cnFillOpacityF     = 1.0</div><div> Tres@cnLabelDrawOrder = &quot;PostDraw&quot;</div><div> Tres@cnLineDrawOrder = &quot;PostDraw&quot;</div><div> Tres@cnFillPalette= &quot;BlueRed&quot;</div><div> Tres@lbOrientation = &quot;vertical&quot;</div><div> Tres@lbLabelFontHeightF = &quot;0.02&quot;</div><div> Tres@cnMonoFillPattern =True</div><div><br></div>Any help would be really appreciated,<br>Thank you very much,<br>Sebastián.</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>