<div dir="ltr"><img src="cid:ii_159ae6958e496359" alt="Inline image 1" width="543" height="281"><br><span style="color:rgb(38,38,38);font-size:13px"><br></span><div><span style="color:rgb(38,38,38);font-size:13px">Hello,</span></div><div><span style="color:rgb(38,38,38);font-size:13px"><br></span></div><div><span style="color:rgb(38,38,38);font-size:13px">I've been trying to set all of the label bars in my plot above, save for the far right plot, to be "transparent" (aka fill everything as white or the background color) to preserve an equal space that NCL allocates across all plots. If I don't preserve the label bar in a "transparent" way the far right plot (UDEL) becomes an awkward size compared to the other 3 plots to its left. </span></div><div><br></div><div>However, when I make the label bar "transparent" (see ERA-interim plot) it still has a slight blue gradient associated with it. </div><div><br></div><div>Any ideas how to eliminate this gradient fill entirely? I have included my resource settings below.</div><div><br></div><div>I have the following general res@ settings...<br><br><div>;-------------------------------------------</div><div>; PLOT RESOURCES</div><div>;-------------------------------------------</div><div><br></div><div> res = True ; plot modifications desired</div><div> res@gsnMaximize = False ; Maximize size of plot in frame</div><div>; res@gsnSpreadColors = True ; Use full colormap, but start</div><div><br></div><div> res@cnFillOn = True ; Turn on contour fill</div><div> res@cnFillMode = "AreaFill" ; Style of fill. You can also</div><div>; res@cnFillMode = "RasterFill" ; Style of fill. You can also</div><div> ; use "CellFill" and "RasterFill"</div><div> res@cnLinesOn = False ; Turn off contour lines</div><div> res@cnLineLabelsOn = False ; Turn off contour line labels</div><div> res@cnLevelSelectionMode = "ExplicitLevels"</div><div><br></div><div> res@lbLabelAutoStride = True ; Clean up labelbar labels.</div><div><br></div><div>; PANEL PLOT SPECIFIC RESOURCES</div><div> res@gsnDraw = False</div><div> res@gsnFrame = False ; don't advance frame</div><div><br></div><div> res@mpOutlineBoundarySets = "geophysicalandusstates"; turn on states</div><div> res@cnMissingValFillColor = "white" ; make missing values white</div><div> res@mpLandFillColor = -1 ; transparent = -1</div><div><br></div><div><div>;MOVE TEXT STRINGS IN PLOTS AND SET FONT HEIGHTS</div><div> Font = 0.020 ; best = 0.030</div><div> Position = 0.010</div><div><br></div><div> res@tmYLLabelFontHeightF = Font</div><div> res@tmXBLabelFontHeightF = Font</div><div> res@gsnLeftStringFontHeightF = Font</div><div> res@gsnLeftStringOrthogonalPosF = Position ; Move text up or down from plot boundary</div><div> res@gsnRightStringFontHeightF = Font</div><div> res@gsnRightStringOrthogonalPosF = Position ; Move text up or down from plot boundary</div><div> res@gsnCenterStringFontHeightF = Font</div><div> res@gsnCenterStringOrthogonalPosF = Position ; Move text up or down f</div><div><br></div><div>; MODIFY LABELBAR THICKNESS</div><div> res@pmLabelBarHeightF = 0.50 ; make label bar shorter</div><div> res@pmLabelBarWidthF = 0.075 ; make label bar thinner</div><div><br></div><div>; MOVE LABEL BARS AND TITLES BELOW PLOT</div><div> res@lbTitlePosition = "Bottom" ; put it below the plot</div><div><br></div><div> overall x-axis<br></div><div>; LABELBAR FONT SIZES</div><div> res@lbLabelFontHeightF = Font</div><div> res@lbTitleFontHeightF = Font*0.95 ; 0.95 = best</div><div><br></div><div>; All data is regional</div><div> res@gsnAddCyclic = False</div><div><br></div><div>;MAKE LABELS BLANK</div><div> res@gsnLeftString = "" ; add the gsn titles</div><div> res@gsnCenterString = ""</div><div> res@gsnRightString = ""</div><div><br></div><div>; TURN OFF TICKMARKS AND TOP LABELS FOR SPACING (TURN THEM ON INDIVIDUALLY)</div><div> res@tmXTOn = False ; turn off top labels</div><div> res@tmYROn = False ; turn off right labels</div><div> res@tmXBLabelsOn = False</div><div> res@tmXBOn = False</div><div> res@tmYLLabelsOn = False</div><div> res@tmYLOn = False</div><div><br></div><div>; VERTICAL LABEL BAR ALIGNMENT</div><div>; res@lbLabelBarOn = False ; turn off labelbar, but still customize</div><div> res@lbOrientation = "Vertical" ; it so we can recreate it later</div><div> res@lbTitleAngleF = 90. ; title angle</div><div> res@lbTitlePosition = "Right" ; title location</div><div> res@lbTitleDirection = "Across" ; letter angle</div></div><div><br></div><div><div> gsn_define_colormap(wks,"WhiteBlueGreenYellowRed")</div></div><div><br></div><div><div> Levels_TSA = ispan(260,305,5)</div></div><div><div> cmap5 = read_colormap_file("t2m_29lev")</div><div> res_TSA = res_westernusa</div><div> res_TSA@cnLevels = Levels_TSA</div><div> res_TSA@lbLabelStrings = sprinti(" %-5i ",Levels_TSA) ; the extra spaces are a kludge to force the labelbar</div></div><br>The ERA-Interim plot res@ settings are...</div><div><br></div><div><div>;-----------------------------------------</div><div>; REGIONAL PLOT</div><div>;-----------------------------------------</div><div><br></div><div> res_regional_${data}_${var}_${months} = res_TSA</div><div> res_regional_${data}_${var}_${months}@tmYLOn = True</div><div> res_regional_${data}_${var}_${months}@tmYLLabelsOn = True</div><div> res_regional_${data}_${var}_${months}@lbLabelAutoStride = False ; Clean up labelbar labels.</div><div> res_regional_${data}_${var}_${months}@lbMonoFillPattern = True ; fill sold</div><div> res_regional_${data}_${var}_${months}@lbMonoFillColor = True ; fill sold</div><div> res_regional_${data}_${var}_${months}@lbFillBackground = "white"</div><div> res_regional_${data}_${var}_${months}@lbFillColors = "white"</div><div> res_regional_${data}_${var}_${months}@lbBoxLineColor = "white"</div><div> res_regional_${data}_${var}_${months}@lbLabelFontColor = "white"</div><div>; res_regional_${data}_${var}_${months}@pmLabelBarOrthogonalPosF = 0.00</div><div> res_regional_${data}_${var}_${months}@gsnLeftString = "ERA-Interim"</div><div> res_regional_${data}_${var}_${months}@gsnRightString = " 1985-2015 "</div><div> res_regional_${data}_${var}_${months}@gsnCenterString = ""</div></div><div><div> plot_regional_${data}_${var}_${months} = gsn_csm_contour_map_ce(wks,${data}_${var}_${months},res_regional_${data}_${var}_${months})</div></div><div><br></div><div>AR</div><div><img width="0" height="0" class="mailtrack-img" src="https://mailtrack.io/trace/mail/e3c6d49db04949fa6fbf46643f8b1b478172dfd8.png?u=1126611"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-weight:bold"><font color="#000000"><br></font></div><div><font color="#000000"><font size="1"><b>Alan Rhoades | </b></font><b style="font-size:12.8px"><font size="1">PhD Candidate | </font></b></font><b style="font-size:12.8px"><font color="#000000" size="1">University of California, Davis</font></b></div><div><b style="font-size:12.8px"><font color="#000000" size="1">Atmospheric Science Graduate Group | </font></b><b style="font-size:12.8px"><font color="#000000" size="1">Climate Change Water and Society (CCWAS) NSF IGERT Trainee</font></b></div><div><div><b style="color:rgb(0,0,0);font-size:12.8px"><i><font face="arial, helvetica, sans-serif"><u><font size="1"><a href="mailto:alan.m.rhoades@gmail.com" target="_blank">alan.m.rhoades@gmail.com</a></font></u></font><span style="font-size:12.8px"> |</span><span style="font-size:12.8px"> </span><u style="font-size:12.8px;font-family:arial,helvetica,sans-serif"><a href="mailto:amrhoades@ucdavis.edu" target="_blank"><font size="1">amrhoades@ucdavis.edu</font></a></u></i></b><b><font color="#000000" size="1"><br></font></b></div><div><font color="#000000"><b><i><font size="1"><u><a href="http://alanrhoades.weebly.com/" target="_blank">Website</a></u></font><span style="font-size:12.8px"> |</span><span style="font-size:12.8px"> </span><font size="1"><u><a href="https://www.researchgate.net/profile/Alan_Rhoades" target="_blank">Research Gate</a></u></font><span style="font-size:12.8px"> |</span><font size="1"> </font><u style="font-size:12.8px"><font size="1"><a href="https://www.linkedin.com/pub/alan-rhoades/22/5bb/52a" target="_blank">LinkedIn</a></font></u></i></b></font><b style="font-size:12.8px;color:rgb(0,0,0)"><i><span style="font-size:12.8px"> | </span></i></b><b style="font-size:12.8px;color:rgb(0,0,0)"><i><font size="1"><u><a href="https://scholar.google.gr/citations?user=AVFLiFsAAAAJ&hl=en" target="_blank">Google Scholar</a></u></font></i></b></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><br><br></div></div>