<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Dale,<br>
    <br>
    have a look at panel example 21
    <a class="moz-txt-link-freetext" href="http://ncl.ucar.edu/Applications/Scripts/panel_21.ncl">http://ncl.ucar.edu/Applications/Scripts/panel_21.ncl</a><br>
    <br>
    The resource pmLabelBarOrthogonalPosF is what you are looking for.
    Setting e.g.<br>
    <br>
    <font color="#3333ff"><tt>  res@pmLabelBarOrthogonalPosF = -0.016 </tt></font><br>
    <br>
    will move the labelbar upward.<br>
    <br>
    -Karin<br>
    <br>
    <div class="moz-cite-prefix">Am 29.08.17 um 00:26 schrieb dale zuri:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADWf2rKP-ft4xB3grGQETon+90FHLwp9ZKPTfpc0Piu1JJu4Cw@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div>
            <div>Hi NCL user,<br>
            </div>
            Could someone help me to reduce the space between label bar
            and figure.? I have attached here a copy of the figure. <br>
            <br>
          </div>
          Thanks<br>
        </div>
        Dz<br>
        gsn_define_colormap(wks,""+col+"")<br>
         plot = new(1,graphic)<br>
           res                       = True<br>
        res@gsnDraw             = False<br>
           res@gsnMaximize           = True             ; make large<br>
           res@gsnFrame           =  False            ; make large<br>
           res@cnFillOn              = True             ; turn on color<br>
           res@cnLinesOn             = False            ; turn off
        contour lines<br>
           res@cnLineLabelsOn        = False            ; turn off
        contour line labels<br>
           res@cnInfoLabelOn       = False<br>
        res@lbLabelBarOn        = False           ; turn off individual
        cb's<br>
        <br>
        res@gsnTickMarksOn = False<br>
        res@mpGridAndLimbOn       = False<br>
        <br>
           res@cnLevelSelectionMode  = "ManualLevels"   ; set manual
        contour levels<br>
           res@cnMinLevelValF        =  -10            ; set min contour
        level<br>
           res@cnMaxLevelValF        =   20            ; set max contour
        level<br>
           res@cnLevelSpacingF       =   5          ; set contour
        interval<br>
           res@gsnAddCyclic          =  False<br>
           res@mpFillOn              = False            ; turn off
        default background gray<br>
         res@mpLimitMode         = "Corners"<br>
        <br>
          res@mpRelativeCenterLon = True<br>
        <br>
          res@mpCenterLonF        = -152.2044<br>
        <br>
          res@mpRelativeCenterLat = True<br>
        <br>
          res@mpCenterLatF        = 90.<br>
        <br>
          res@mpRightCornerLonF   = -103.99817<br>
        <br>
          res@mpRightCornerLatF   = 67.58854<br>
        <br>
        ;  res@mpLeftCornerLonF    = -181.7859<br>
          res@mpLeftCornerLonF    = -159.0859<br>
        <br>
          res@mpLeftCornerLatF    = 43.23277<br>
        res@mpGeophysicalLineThicknessF = 3.0<br>
        res@mpGeophysicalLineColor = "Black"; (/22/)<br>
        ;res@mpNationalLineThicknessF  = 3.0<br>
        res@mpOutlineBoundarySets = "GeophysicalAndUSStates" ; add state
        boundaries<br>
        res@mpNationalLineColor  = res@mpGeophysicalLineColor<br>
        res@mpUSStateLineThicknessF = 3.0<br>
        res@mpUSStateLineColor  = res@mpGeophysicalLineColor<br>
        res@gsnStringFont   = "helvetica-bold"<br>
        ; res@gsnCenterString       = year(0)+"-"+year(nyrs-1) <br>
          res@gsnLeftString   = ""               ; add the gsn titles<br>
          res@gsnRightString  = ""<br>
        ;   res@tiMainString          = "Trend, Reanalysis-2m
        Temperature(~S~o~N~C)"    ; fili<br>
        ;res@tiMainFontHeightF  = 0.02<br>
        res@gsnCenterStringFontHeightF     = 0.020<br>
        res@gsnCenterString     = "NMME-CFSv2-Clim-"+mon+""+yr+""<br>
        ;---Names of shapefiles<br>
        ;---Add shapefile outlines<br>
          lnres        = True<br>
          lnres@minlat = 43.23277<br>
          lnres@maxlat = 67.58854<br>
          lnres@minlon = -181.7859<br>
          lnres@maxlon = -103.99817<br>
        lnres@gsLineThicknessF = 2.0<br>
          file_tl = "predictive_service_areas.shp"<br>
        plot = gsn_csm_contour_map_ce(wks,zAvg,res)<br>
         dum_tl       =
        gsn_add_shapefile_polylines(wks,plot,file_tl,lnres)<br>
        ;************************************************<br>
        ; create panel<br>
        ;************************************************<br>
          resP                  = True                   ; modify the
        panel plot<br>
          resP@gsnPanelLabelBar = True<br>
          resP@lbLabelFontHeightF = 0.020                ; set font
        height of Label Bar labels<br>
         resP@gsnPanelBottom   = 0.2                    ; shrink panel
        plot by setting bottom edge of plot<br>
         resP@gsnPanelTop      = 0.9                    ; shrink panel
        plot by setting top edge of plot<br>
         resP@pmLabelBarWidthF  = 0.55                 ; make thinner<br>
        ;  resP@pmLabelBarHeightF = 0.05<br>
         resP@pmLabelBarHeightF = 0.1<br>
         resP@gsnPanelYWhiteSpacePercent = 5.           ; increase
        spacing along Y-axis between panel plots<br>
         resP@cnLinesOn       = False                   ; turn off
        contour lines<br>
        ;  resP@lbTitleString    = "2m-temperature(~S~o~N~C)"<br>
          resP@lbTitleString    = ""+unit+""<br>
          resP@lbLabelFont    = "helvetica-bold"          ; add common
        colorbar<br>
          resP@lbTitleFont    = "helvetica-bold"          ; add common
        colorbar<br>
          resP@lbTitleFontHeightF= .025                 ; make title
        smaller<br>
           resP@cnLineLabelsOn  = False<br>
        <br>
          resP@txFontHeightF   = 0.03<br>
          resP@txFont   = "helvetica-bold"<br>
          ;resP@txString   = ""+Ind+"-"+Initial+""<br>
          gsn_panel(wks,plot,(/1,1/),resP)               ; now draw as
        one pl<br>
        end<br>
          <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dipl. Geophys. Karin Meier-Fleischer
Visualization, NCL, CDO
Application Support

Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany

Phone:    +49 (0)40 460094 126
Fax:      +49 (0)40 460094 270
E-Mail:   <a class="moz-txt-link-abbreviated" href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>
URL:      <a class="moz-txt-link-abbreviated" href="http://www.dkrz.de">www.dkrz.de</a>

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
</pre>
  </body>
</html>