<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi again,</div><div><br></div><div>I think I found a solution to my problem. I think the key resource that I forgot to set is res@lbLabelAutoStride = False. Together with following resources I got the labelling the way I wanted (here an example in which I set explicit contour levels):</div><div><br></div><div>res@lbLabelAutoStride = False<br></div><div><div>res@lbLabelFontHeightF = 0.025</div><div>res@cnLevelSelectionMode = "ExplicitLevels"<br></div></div><div><div>res@cnFillColors = (/2, 25, 50, 75, -1, -1, 160, 180, 200, 220/) </div><div>res@cnLevels = (/-0.2, -0.15, -0.1, -0.5, 0, 0.5, 1.0, 1.5, 2.0/)</div><div>res@cnExplicitLabelBarLabelsOn = True</div><div>res@lbLabelStrings = (/"-0.2", "", "-0.1", "", "0", "", "1.0", "", "2.0", "2.5"/)</div></div><div dir="ltr"><br></div><div>Hope that helps,</div><div>Anne</div><div> </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 3, 2019 at 3:46 PM Anne <<a href="mailto:anne.seidenglanz@unive.it">anne.seidenglanz@unive.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I have used </div><div><div><div><br></div><div>res@cnExplicitLabelBarLabelsOn = True</div></div><div><div>res@lbLabelStrings = (/-0.2, -0.15, -0.1, -0.5, 0.5, 1.0, 1.5, 2.0/)</div></div><br class="gmail-m_2393850165774454223gmail-Apple-interchange-newline"></div><div>to get explicit label bar labels. That seems to work fine only if I comment or set lbLabelFontHeightF to quite small so each label can fit on the label bar. However, this way the labels are way to small and also I feel they would still fit if I had chosen a larger font height. </div><div>I attach 2 plots, one where I commented lbLabelFontHeightF which results in very small labels, and one which it automatically skips some of my explicitly set labels because they're too big. </div><div><br></div><div>Is there a solution to this problem? </div><div><br></div><div>Even if I do (res@lbLabelStrings = (/"-0.2", "-0.15", "", "-0.5","0.5","","1.5","2.0"/) doesn't do what I want. I also set lbAutoManage to False but this didn't make a difference. </div><div><br></div><div>My ultimate goal is to have labels *symmetric* around zero (also every 2nd is fine), and they must be BIG enough.</div><div><br></div><div>Thanks for any help!<br></div><div>Anne<br></div></div></div></div></div></div></div>
</blockquote></div></div></div></div></div>