<div dir="ltr">Hi Frank,<div>If you are asking for a second line of labels underneath a common labelbar, the answer is no a function does not exist, but you can draw a labelbar twice using <a href="https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_labelbar_ndc.shtml">gsn_labelbar_ndc</a>, moving the labels for the second labelbar downwards. Here is a snippet of code that I have used for this:</div><div>  lbres                    = True          ; labelbar only resources<br>  lbres@vpWidthF           = 0.6    ; labelbar width<br>  lbres@vpHeightF          = 0.06    ; labelbar height<br>  lbres@lbFillColors       = res@cnFillPalette ; labelbar colors<br>  lbres@lbOrientation      = "Horizontal"     ; Default is vertical.<br>  lbres@lbLabelAlignment   = "InteriorEdges"  ; Default is "BoxCenters".<br>  lbres@lbMonoFillPattern  = True          ; Solid fill pattern<br>  lbres@lbLabelFontHeightF = 0.016         ; font height. default is small<br>  lbres@lbBoxLineColor = "gray70"<br>  gsn_labelbar_ndc(wks,dimsizes(res@cnLevels)+1,res@cnLevels,0.205,0.19,lbres)<br><br>  lbres@lbLabelOffsetF = .5<br>  gsn_labelbar_ndc(wks,dimsizes(res@cnLevels)+1,RoundPastDecimal(sqrt(8./res@cnLevels),2),0.205,0.17585,lbres)<br></div><div>  frame(wks)</div><div><br></div><div>Note that in the two gsn_labelbar_ndc calls, the NDC X value is the same (.205), but the NDC y-value is adjusted so that the labelbars themselves are exactly overlaid.</div><div>Adam</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 2, 2019 at 2:01 AM Kreienkamp Frank via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="DE">
<div class="gmail-m_-436462411713055804WordSection1">
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:Arial,sans-serif">is there a function to add a 2nd label line to a colorbar?
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:Arial,sans-serif">As an exemple: The plot shows the temperature increase compared to a given time period. The values on each side of the  color bar show different time slice (preindustrial and last
 30 years)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Thanks in advance<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif">Frank<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:Arial,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>

_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" 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>