<div dir="ltr">Great! Thanks, Mary.<div><br></div><div>Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 1, 2016 at 2:21 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">Hi Matt,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Since NCL has no way of knowing what the these top and bottom values are (because they are open-ended), you will need to explicitly tell NCL to label those external edges of the labelbar, and then provide the extra two labels yourself.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">See the third plot in example 14 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/Applications/labelbar.shtml#ex14</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">The two key resources you'll need to set are:</div><div class="gmail_default"><br></div><div class="gmail_default"><div class="gmail_default"> res@lbLabelAlignment = "ExternalEdges"</div><div class="gmail_default"> res@lbLabelStrings = .... ; this has to be 2 more labels more than the default.</div><div class="gmail_default"><br></div><div class="gmail_default">-Mary</div><div class="gmail_default"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Fri, Jul 29, 2016 at 1:20 PM, Matt Masarik <span dir="ltr"><<a href="mailto:mattmasarik@boisestate.edu" target="_blank">mattmasarik@boisestate.edu</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>I have a question regarding labeling color bars. I'm adding labels to the ends using the contour resource:</div><div><br></div><div> res@cnLabelBarEndStyle = "IncludeMinMaxLabels"<br></div><div><br></div><div><br></div><div>This gives end labels that are the actual min/max of the field. Is there a way get the min/max to be the next values associated with your contour stride?</div><div><br></div><div>Ex, for contour intervals, 10, 20, 30, 40,</div><div><br></div><div>Current: 0.3, 10, 20, 30, 40, 49.7</div><div>Desired: 0, 10, 20, 30, 40, 50</div><div><br></div><div>I'm guessing this might be tricky since you don't have to pick evenly spaced contours..</div><div><br></div><div>Thanks,</div><div><br></div><div>Matt</div></div>
<br></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><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>