<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Anne,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The "IncludeMinMaxLabels" setting includes the min/max of your actual data, and not the min/max of the contour levels you selected. The 99.96 represents the maximum of your data.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you want triangular ends *and* a min/max of 0 and 100, then you will need to use lbLabelStrings to force the strings you want.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've attached an example.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 29, 2018 at 6:14 AM, Anne SEIDENGLANZ <span dir="ltr"><<a href="mailto:anne.seidenglanz@unive.it" target="_blank">anne.seidenglanz@unive.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>I have a problem setting the labels to a label bar in a way I want. I have sea ice concentration data ranging from 0% to 100%. What I want is a label bar going from 0 to 100 as the data is, so I set also res@cnLabelBarEndStyle = “IncludeMinMaxLabels”.</div><div><br></div><div>When I set the contour levels explicitly from 0 to 100, NCL tells me it cannot include the lower and upper labels and I end up values above 100% which is not what I want (1st picture). When I exclude 0 and 100 from the explicit levels  and I set them from 10 to 90 I get some strange value of 99.41 as upper end label (2nd picture). I have also tried with “ManualLevels” but the result was similar. I even set my value range explicitly from 0 to 100 :</div><div> tice = where((tice.ge.0 .and. tice.le.100), tice, tice@_FillValue)</div><div><br></div><div>Am I missing something? I am using NCL version 6.4.0.</div><div><br></div><div>Any advice is appreciated,</div><div>thanks,</div><div>Anne</div><div><br></div><div><br></div><div>explicit levels 0->100</div><div><br></div><div><img id="m_76365862324380551696B08B1BA-DBA4-4E0B-8786-4E66DDB47E67" src="cid:83E21D43-A853-4522-9D2E-A104827BB919@cmcc.bo.it"></div><div><br></div><div><br></div><div>explicit levels 10->90 and end labels included</div><div><br></div><div><img id="m_7636586232438055169C8296620-F850-43C3-BF6B-9754AB792190" src="cid:26BA27F0-B7A7-4EA7-BFDB-DA1A36CB59C9@cmcc.bo.it"></div><div><br></div></div>
<br>
<div><font style="font-family:Arial,Helvetica,sans-serif" size="2">Nota automatica aggiunta dal sistema di posta.</font></div><div><img src="https://www.unive.it/media/banner_150.jpg"></div><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>
<br></blockquote></div><br></div>