<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div class=""><br class=""></div><div class="">NCAR Command Language Version 6.4.0<br class=""><div class=""><br class=""></div><div class="">I want to plot streamlines (gsn_csm_streamline_scalar_map) in panels (gs_panels) and remove the Labelbar and add PanelLabelBar. So, I started to play with the following settings.</div><div class=""><br class=""></div><div class="">    res@gsnOldLabelBar = False<br class="">    res@lbLabelBarOn  = False<br class="">    res@lbLabelsOn  = False</div><div class=""><br class=""></div><div class="">a) If I set all the values above to True, I get Labelbar below the plots in panels.</div><div class="">b) If gsnOldLabelBar = False and lbLabelBarOn = True, LabelBar is shown below plots and also I see some artifical x and y axis labels except latitude and longitudes.</div><div class="">c) If gsnOldLabelBar = True and lbLabelBarOn = False; NCL throws following error:</div><div class=""><br class=""></div><div class="">fatal:Variable (lbar_zone) is undefined</div><div class=""><br class=""></div><div class="">This error comes from the Line 12331 of gsn_csm.ncl file. See the code block at the end of this email. Something is wrong with the logic. It seems False and True logic is missing.</div><div class=""><br class=""></div><div class="">d) If I set all the values above to False, I don’t see LabelBar below plot but still I get artifical x and y axis labels like 0, 20, 40, 60 etc... (see the attached image)</div><div class=""><br class=""></div><div class="">The only way for me to remove LabelBars is comment the add_labelbar function in line 12331. Is this a bug or am I missing something?</div><div class=""><br class=""></div><div class="">; CODE BLOCK FROM gsn_csm.ncl</div><div class="">; Line —> 12320</div><div class="">    if(lbar_on.and.use_old_lbar)<br class="">      if(.not.infolabel_on)<br class="">        lbar_zone = 2<br class="">      else<br class="">        lbar_zone = 3<br class="">      end if<br class="">      lbres = get_res_eq(res2,(/"lb","pm"/))<br class="">    end if<br class="">    if(use_old_lbar)<br class="">      add_labelbar(wks,streamline_object,lbar_zone,font_height, \<br class="">                    "streamline",lbar_on,lbres)<br class="">    end if<br class="">    if(use_mgr_lbar)<br class="">      fix_labelbar(streamline_object,font_height,lbar_on,stres)<br class="">    end if</div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="8E12F2BD-DEEE-48EE-B44E-E9E8F4848801" width="502" height="412" src="cid:D191BB27-C91C-48E4-B113-EE82EE14671B" class=""></div></div></body></html>