<div dir="ltr">Hi Giorgio,<div>The only issue that I see in your script is that you are setting the label bar label font size to an extremely large value:</div><div><span style="font-size:12.8px">res1@lbLabelFontHeightF = 2.</span><br></div><div><span style="font-size:12.8px">res2@lbLabelFontHeightF = 2.</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">res3@lbLabelFontHeightF = 2.</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Try setting each of those to something in the range of 0.020 and see if your labels show up. If they don't, let ncl-talk know.</span></div><div><span style="font-size:12.8px">Adam</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 19, 2017 at 4:34 AM, <a href="mailto:g.graffino@tim.it">g.graffino@tim.it</a> <span dir="ltr"><<a href="mailto:g.graffino@tim.it" target="_blank">g.graffino@tim.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear NCL folks,<br>I'm trying to modify some properties of several panel plots.<br><br>I'd like to enlarge both tickmarks and labelbar fonts, but if I do it the labelbar covers much of the tickmarks. Moreover, if I try to move down the labelbar to show up the tickmarks, labels disapper. You can the results in the attached plot.<br>Looking for a solution, I found the panel plots example page (<a href="https://www.ncl.ucar.edu/Applications/panel.shtml" target="_blank">https://www.ncl.ucar.edu/<wbr>Applications/panel.shtml</a>). Example 20 looked promising, but playing with vpHeightF didn't do the trick.<br>Is there something I haven't try yet? Any help is appreciated.<em> </em><a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/vp.shtml#vpHeightF" target="_blank"><em></em></a><br><br>I copied and pasted the plot resources I employed, together with the plot instructions.<br><br>Thanks a lot.<br>Giorgio<br><br> filename = "RegCM_PR_analysis"<br> type = "PNG"<br> wks = gsn_open_wks(type,filename)<br><br> res1@gsnAddCyclic = False<br> res1@gsnDraw = False<br> res1@gsnFrame = False<br> res1@gsnLeftString = ""<br> res1@gsnCenterString = ""<br> res1@gsnRightString = "" <br> res1@cnLineLabelsOn = False<br> res1@cnLinesOn = False<br> res1@cnFillOn = True<br> res1@cnInfoLabelOn = False ; Turn off plot info<br> res1@cnLevelSelectionMode = "ExplicitLevels"<br> res1@cnLevels = (/1,2,4,8,12,16,24/)<br> res1@cnFillPalette = "MPL_BuGn"<br> res1@cnFillDrawOrder = "Draw" <br> res1@cnFillMode = "RasterFill"<br> res1@lbLabelBarOn = True<br> res1@lbLabelPosition = "Bottom"<br> res1@lbLabelFontHeightF = 2.<br> res1@tmXBLabelFontHeightF = 0.01 <br> res1@tmYLLabelFontHeightF = 0.01<br> res1@pmLabelBarOrthogonalPosF = 0.2<br> res1@mpFillOn = True<br> res1@mpOutlineOn = True<br> res1@mpLimitMode = "LatLon"<br> res1@mpMinLatF = min(lat)<br> res1@mpMinLonF = min(lon)<br> res1@mpMaxLatF = max(lat)<br> res1@mpMaxLonF = max(lon)<br> res1@mpCenterLonF = 179.625<br> res1@mpCenterLatF = 0.0<br> res1@sfXArray = lon <br> res1@sfYArray = lat <br> res2@gsnAddCyclic = False<br> res2@gsnDraw = False<br> res2@gsnFrame = False<br> res2@gsnLeftString = ""<br> res2@gsnCenterString = ""<br> res2@gsnRightString = "" <br> res2@cnLineLabelsOn = False<br> res2@cnLinesOn = False<br> res2@cnFillOn = True<br> res2@cnInfoLabelOn = False ; Turn off plot info<br> res2@cnLevelSelectionMode = "ExplicitLevels"<br> res2@cnLevels = (/1,2,4,8,12,16,24/)<br> res2@cnFillPalette = "MPL_BuGn" <br> res2@cnFillDrawOrder = "Draw" <br> res2@cnFillMode = "RasterFill"<br> res2@lbLabelBarOn = True<br> res2@lbLabelPosition = "Bottom"<br> res2@lbLabelFontHeightF = 2.<br> res2@tmXBLabelFontHeightF = 0.01 <br> res2@tmYLLabelFontHeightF = 0.01<br> res2@mpFillOn = True<br> res2@mpOutlineOn = True<br> res2@mpLimitMode = "LatLon"<br> res2@mpMinLatF = min(lat)<br> res2@mpMinLonF = min(lon)<br> res2@mpMaxLatF = max(lat)<br> res2@mpMaxLonF = max(lon)<br> res2@mpCenterLonF = 179.625<br> res2@mpCenterLatF = 0.0<br> res2@sfXArray = lon <br> res2@sfYArray = lat <br> res3@gsnAddCyclic = False<br> res3@gsnDraw = False<br> res3@gsnFrame = False<br> res3@gsnLeftString = ""<br> res3@gsnCenterString = ""<br> res3@gsnRightString = "" <br> res3@cnLineLabelsOn = False<br> res3@cnLinesOn = False<br> res3@cnFillOn = True<br> res3@cnInfoLabelOn = False ; Turn off plot info<br> res3@cnLevelSelectionMode = "ExplicitLevels"<br> res3@cnLevels = (/-24,-16,-8,-4,-2,-1,1,2,4,8,<wbr>16,24/)<br> res3@cnFillColors = (/45,50,55,60,65,0,0,0,75,85,<wbr>95,105,115,125/)<br> res3@cnFillDrawOrder = "Draw" <br> res3@cnFillMode = "RasterFill"<br> res3@lbLabelBarOn = True<br> res3@lbLabelPosition = "Bottom"<br> res3@lbLabelFontHeightF = 2.<br> res3@tmXBLabelFontHeightF = 0.01 <br> res3@tmYLLabelFontHeightF = 0.01<br> res3@mpFillOn = True<br> res3@mpOutlineOn = True<br> res3@mpLimitMode = "LatLon"<br> res3@mpMinLatF = min(lat)<br> res3@mpMinLonF = min(lon)<br> res3@mpMaxLatF = max(lat)<br> res3@mpMaxLonF = max(lon)<br> res3@mpCenterLonF = 179.625<br> res3@mpCenterLatF = 0.0<br> res3@sfXArray = lon <br> res3@sfYArray = lat <br> panel_res@gsnMaximize = True<br> panel_res@gsnPaperOrientation = "Landscape" <br> panel_res@<wbr>gsnPanelFigureStrings = (/"Model","GPCP","Bias"/)<br> panel_res@<wbr>gsnPanelFigureStringsFontHeigh<wbr>tF = 0.01<br> panel_res@<wbr>gsnPanelYWhiteSpacePercent = 5.<br> panel_res@txString = "Rainfall (mm/day) - Average - January"<br><br> plot1 = gsn_csm_contour_map(wks,pri_<wbr>int_mon,res1)<br> plot2 = gsn_csm_contour_map(wks,pre_<wbr>mon,res2)<br> plot3 = gsn_csm_contour_map(wks,pri_<wbr>int_mon-pre_mon,res3)<br> gsn_panel(wks,(/plot1,plot2,<wbr>plot3/),(/3,1/),panel_res1)<br><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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" 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">303-497-1726 </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>