<div dir="ltr">Hi, <div><br></div><div>Ok, I see, then I&#39;ll define it in that way. </div><div><br></div><div>Thanks again!</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-21 19:37 GMT+02:00 Dennis Shea <span dir="ltr">&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Also, of possible use ...<br><br></div>If you are not sure of a &#39;good&#39; common min/max/interval to use see<br><br><a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/nice_mnmxintvl.shtml" target="_blank">http://www.ncl.ucar.edu/Document/Functions/Built-in/nice_mnmxintvl.shtml</a><br><br></div>Example 3 <br><br></div>You can the use<br><br><pre>  res@<a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLevelSelectionMode" target="_blank"><em>cnLevelSelectionMode</em></a> = &quot;ManualLevels&quot;
  res@<a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnMinLevelValF" target="_blank"><em>cnMinLevelValF</em></a>       = mnmxint(0)
  res@<a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnMaxLevelValF" target="_blank"><em>cnMaxLevelValF</em></a>       = mnmxint(1)
  res@<a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLevelSpacingF" target="_blank"><em>cnLevelSpacingF</em></a>      = mnmxint(2)
</pre><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 21, 2016 at 11:18 AM, Adam Phillips <span dir="ltr">&lt;<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Noelia,<div>Correct. You either let NCL decide the levels (AutomaticLevels) or you do not. NCL may pick the same contour levels for each panel if the plotted data is similar in range from one panel to the next, but it very likely will not. It is recommended that you set the contour levels yourself, and thus you will need to know the range of your plotted data. You can use stat_dispersion to statistically analyze the arrays that are to be plotted: <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/stat_dispersion.shtml" target="_blank">http://www.ncl.ucar.edu/Document/Functions/Contributed/stat_dispersion.shtml</a> </div><span><font color="#888888"><div>Adam</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 21, 2016 at 11:10 AM, Noelia otero <span dir="ltr">&lt;<a href="mailto:noeli1680@gmail.com" target="_blank">noeli1680@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Adam,<div><br></div><div>So, if I have 10 plots I should set ManualLevels, specifically with the max or min value ..I mean I have to know what these values are to set the levels, right? There is no way to set automatically these levels,  isn&#39;t there? I though that using AutomaticLevels should be fine, but seeing my plots, it isn&#39;t..</div><div><br></div><div>Then, I guess, I have to get those values previously to define the label?</div><div><br></div><div>Thanks again for the help,</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-21 18:59 GMT+02:00 Adam Phillips <span dir="ltr">&lt;<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Noelia,<div>If you do not set cnLevelSelectionMode (to ManualLevels or ExplicitLevels) then NCL will determine the contour levels for each individual plot, and they can be different. See examples 1 and 4 here:</div><div><a href="http://www.ncl.ucar.edu/Applications/contourLev.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/contourLev.shtml</a><br></div><div>Hope that helps!</div><div>Adam</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Jun 21, 2016 at 10:45 AM, Noelia otero <span dir="ltr">&lt;<a href="mailto:noeli1680@gmail.com" target="_blank">noeli1680@gmail.com</a>&gt;</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><div dir="ltr">Hi all,<div><br></div><div>I&#39;m using a common labelbar for several plots. However it isn&#39;t working properly, because it seems that it is taking the values of the first plot, and then, the levels are wrong for the rest of them. I don&#39;t know if I have to define always &quot;Manual levels&quot;..What I am defining:</div><div><br></div><div><div>  res = True</div><div>  res@gsnAddCyclic   = False</div><div>  res@gsnMaximize    = True</div><div>  res@gsnDraw        = False</div><div>  res@gsnFrame       = False</div><div>  res@lbLabelBarOn   = False ;not individual labelbar</div><div>  res@lbAutoManage   = True</div><div><br></div><div>  res@mpMinLatF      = min(lat)</div><div>  res@mpMaxLatF      = max(lat)</div><div>  res@mpMinLonF      = min(lon)</div><div>  res@mpMaxLonF      = max(lon)</div><div>  res@cnLinesOn      = False</div><div>  res@cnFillOn       = True</div></div><div><br></div><div>;for the panel</div><div>  panelres = True</div><div>  panelres@gsnFrame = False</div><div>  panelres@gsnMaximize = True</div><div>  panelres@gsnMaximize = True</div><div>  panelres@txFontHeightF = 0.01</div><div>  panelres@gsnPanelLabelBar = True</div><div>  panelres@gsnPanelBottom = 0.06</div><div>  panelres@lbLabelFontHeightF = .006</div><div>  panelres@pmLabelBarWidthF = 0.35 ;label bar width</div><div><br></div><div>But the levels are wrong...what did I miss? </div><div><br></div><div>Many thanks!</div><div><br></div><div>Cheers</div><span><font color="#888888"><div><br></div><div>Noelia</div></font></span></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><span><font color="#888888"><br><br clear="all"><span><font color="#888888"><div><br></div>-- <br><div 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"><a href="tel:303-497-1726" value="+13034971726" target="_blank">303-497-1726</a> </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>
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div 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"><a href="tel:303-497-1726" value="+13034971726" target="_blank">303-497-1726</a> </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>
</div></div><br>_______________________________________________<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>
</div></div></blockquote></div><br></div>