<div dir="ltr">Hello,<div><div>Please note that on the NCL email list support page (<a href="http://www.ncl.ucar.edu/Support/email_lists.shtml">http://www.ncl.ucar.edu/Support/email_lists.shtml</a>) it states:</div><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px">"The NCL/NCARG team monitors all mailing lists, and we generally try to answer questions within a few hours when posted during normal working hours (Mon-Fri 8am-5pm MT)."</span></div><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px">As your original email was posted on Saturday it is quite unlikely that it will be responded to until Monday. There are occasional exceptions to this, depending on the schedules of NCL support staff as well as volunteers who are willing to respond.</span></div><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px">To answer your query, I've copied stream_11.ncl from the examples website here:</span></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><a href="http://www.ncl.ucar.edu/Applications/stream.shtml#ex11">http://www.ncl.ucar.edu/Applications/stream.shtml#ex11</a></span></font><br></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">and modified it to use the <a href="http://uvt.nc">uvt.nc</a> file available here:</span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><a href="http://www.ncl.ucar.edu/Applications/Data/">http://www.ncl.ucar.edu/Applications/Data/</a></span><br></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">and attached it and the resulting graphic here.</span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">Note that to turn off the individual labelbar you need to set lbLabelBarOn = False. To turn on a single labelbar for the panel plot you need to set gsnPanelLabelBar to True in your panel resource list. Finally, to orient the labelbar vertically you need to set lbOrientation = "vertical" in your panel resource list.</span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">See the following websites:</span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><a href="http://www.ncl.ucar.edu/Applications/panel.shtml">http://www.ncl.ucar.edu/Applications/panel.shtml</a></span><br></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><a href="http://www.ncl.ucar.edu/Applications/labelbar.shtml">http://www.ncl.ucar.edu/Applications/labelbar.shtml</a></span><br></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">available from the main applications page here:</span></font></div><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px"><a href="http://www.ncl.ucar.edu/Applications/">http://www.ncl.ucar.edu/Applications/</a></span><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">Also, note that the resource gsnOldLabelBar does not exist, and that lbLabelsOn will turn off the labelbar labels (when set in the panel resource list in the attached example).</span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">Hopefully that all makes sense. If not, or if you have further questions, please only respond to the ncl-talk email list and not to me personally.</span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px">Adam</span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><font color="#333333" face="verdana, sans-serif"><span style="font-size:13.3333px"><br></span></font></div><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:verdana,sans-serif;font-size:13.3333px"><br></span></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 9, 2017 at 6:13 AM, Ismail SEZEN <span dir="ltr"><<a href="mailto:sezenismail@gmail.com" target="_blank">sezenismail@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">UP! NEED ATTENTION!<br>
Let me simplify the question. Can somebody give a clean example how to create  streamline plots (with gsn_csm_streamline_scalar_map) in panels with a single label bar on the right?<br>
<br>
it said in the <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a> page that "report bugs on NCL”. Does someone from NCL-team read this emails?<br>
<br>
> On 8 Oct 2017, at 02:34, Ismail SEZEN <<a href="mailto:sezenismail@gmail.com">sezenismail@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> NCAR Command Language Version 6.4.0<br>
><br>
> I want to plot streamlines (gsn_csm_streamline_scalar_<wbr>map) in panels (gs_panels) and remove the Labelbar and add PanelLabelBar. So, I started to play with the following settings.<br>
><br>
>     res@gsnOldLabelBar = False<br>
>     res@lbLabelBarOn  = False<br>
>     res@lbLabelsOn  = False<br>
><br>
> a) If I set all the values above to True, I get Labelbar below the plots in panels.<br>
> 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.<br>
> c) If gsnOldLabelBar = True and lbLabelBarOn = False; NCL throws following error:<br>
><br>
> fatal:Variable (lbar_zone) is undefined<br>
><br>
> 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.<br>
><br>
> 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)<br>
><br>
> 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?<br>
><br>
> ; CODE BLOCK FROM gsn_csm.ncl<br>
> ; Line —> 12320<br>
>     if(lbar_on.and.use_old_lbar)<br>
>       if(.not.infolabel_on)<br>
>         lbar_zone = 2<br>
>       else<br>
>         lbar_zone = 3<br>
>       end if<br>
>       lbres = get_res_eq(res2,(/"lb","pm"/))<br>
>     end if<br>
>     if(use_old_lbar)<br>
>       add_labelbar(wks,streamline_<wbr>object,lbar_zone,font_height, \<br>
>                     "streamline",lbar_on,lbres)<br>
>     end if<br>
>     if(use_mgr_lbar)<br>
>       fix_labelbar(streamline_<wbr>object,font_height,lbar_on,<wbr>stres)<br>
>     end if<br>
><br>
> <Screen Shot 2017-10-08 at 02.30.34.png><br>
<br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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>