<div dir="ltr">Hello Mary,<div><br></div><div>Thanks for the input. I was able to create plot with explicit values with equivalent description using "Explicitlevels" and "Boxcentres" for single plots. However I am unable to create single lablelbar for the PANEL plots. Is there any additional resources I need to add for doing the same. Attached script produces label bar for all the plots as seen in the attached chart. I want a common label bar for all the panel plots</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 19, 2016 at 10:06 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Hi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The issue is that by default, the labels on the labelbar are drawn in "InteriorEdges" mode, and you want to use "BoxCenters" mode.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please see the second frame in example lb_14.ncl at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/labelbar.shtml#ex14" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/labelbar.shtml#<wbr>ex14</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">I think all you need is:</div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default"> res@lbLabelAlignment = "BoxCenters"<br><span> res@lbLabelStrings = (/"</span><span style="font-size:12.8px">Arid","Semi-arid","<wbr>Mediterranean","Semi-humid","<wbr>Humid","Very Humid","Extremely Humid"/)</span></div></div><div class="gmail_default"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">You may also want to look at the "classification data" examples page:</div><div style="font-size:12.8px"><br></div><div><span style="font-size:12.8px"><a href="http://www.ncl.ucar.edu/Applications/classification.shtml" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/classification.<wbr>shtml</a></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">and in particular, example "permafrost_1.ncl", which has an explicitly labeled labelbar. </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">--Mary</span></div><div><span style="font-size:12.8px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Aug 19, 2016 at 9:36 AM, jagan TNAU <span dir="ltr"><<a href="mailto:jagan@tnau.ac.in" target="_blank">jagan@tnau.ac.in</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Dear NCL users,</div><div><br></div><div>I am trying a panel plot of Aridity Index of a specific regions with its sub divisions. The original script was provided to me by Mary. There is no issue in generating panel plots. However, I want to display contour levels as there is a suggested classification for the Aridity Index as below </div><div><br></div><div>Arid <span style="white-space:pre-wrap">                </span>0-10</div><div>Semi-arid <span style="white-space:pre-wrap">        </span>11-20</div><div>Mediterranean <span style="white-space:pre-wrap">        </span>21-24</div><div>Semi-humid <span style="white-space:pre-wrap">        </span>25-28</div><div>Humid <span style="white-space:pre-wrap">                </span>29-35</div><div>Very Humid <span style="white-space:pre-wrap">        </span>36-55</div><div>Extremely Humid<span style="white-space:pre-wrap">        </span> > 56</div><div><br></div><div>Through cnLevels resource and "ExplicitLevels" I was able to set levels like res@cnLevels = (/0.,10.,20.,24.,28.,35.,55./)<wbr>. But I did not find any examples that can use the range as above and use the legend class like Arid, Semi Arid etc and not merely numbers. </div><div><br></div><div>Is it possible to create plots with legend with classification name as above. Please find attached the script and plot I have created. </div><span><font color="#888888"><div><br></div>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div>With regards<br><br>Dr.R.Jagannathan <br>Professor & Former Dean<br>Tamil Nadu Agricultural University <br>Coimbatore - 641 003 India <br><br>PHONE: Mob: <a href="tel:%2B91%2094438%2089891" value="+919443889891" target="_blank">+91 94438 89891</a><br><br>DO NOT PRINT THIS E-MAIL UNLESS NECESSARY. THE ENVIRONMENT CONCERNS US ALL.</div></div></div>
</font></span></div>
<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>With regards<br><br>Dr.R.Jagannathan <br>Professor & Former Dean<br>Tamil Nadu Agricultural University <br>Coimbatore - 641 003 India <br><br>PHONE: Mob: +91 94438 89891<br><br>DO NOT PRINT THIS E-MAIL UNLESS NECESSARY. THE ENVIRONMENT CONCERNS US ALL.</div></div></div>
</div>