<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    first I also thought about the labelbar. <br>
    <br>
    I've tested the following:<br>
    <b><font face="Courier New">res@lbTitleOn = True</font></b><br>
    and then :<br>
    <b><font face="Courier New">res@lbLabelBarOn = False</font></b><br>
    <br>
    Result is attached. No changes in die viewport height.<br>
    <br>
    Regards.<br>
    <br>
    <div class="moz-cite-prefix">Am 21.02.2019 um 17:41 schrieb Adam
      Phillips:<br>
    </div>
    <blockquote type="cite"
cite="mid:CACvWuqCzzG4VHsNvMYKeezMvut9+Y8ycc-BENJuzPoM6kU3cPA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">Hello,
            <div>I would speculate that it has to do with the label bar,
              as in the labelbar is counted as part of the plot height.
              Note the height of the plot itself is not equal to 0.3.
              Try temporarily turning off first the labelbar title, and
              then the entire labelbar and see if that corrects the
              issue. If it does, you can always call gsn_labelbar_ndc
              (example of use  instead of letting the plotting function
              handle the plotting.</div>
            <div>gsn_labelbar_ndc documentation: <a
href="https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_labelbar_ndc.shtml"
                moz-do-not-send="true">https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_labelbar_ndc.shtml</a></div>
            <div>Script that uses gsn_labelbar_ndc: <a
                href="https://www.ncl.ucar.edu/Applications/Scripts/maponly_6.ncl"
                moz-do-not-send="true">https://www.ncl.ucar.edu/Applications/Scripts/maponly_6.ncl</a></div>
            <div><br>
            </div>
            <div>Hope that helps!<br>
              Adam</div>
            <div><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Feb 21, 2019 at 7:03
          AM MeteoBB <<a href="mailto:info@meteo-bb.de"
            moz-do-not-send="true">info@meteo-bb.de</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 bgcolor="#FFFFFF"> Hi all,<br>
            <br>
            to get space in top of the plot i tried to set the viewport
            parameters manually in NDC.<br>
            <br>
            <font face="Courier New">res@vpXF        = 0.2<br>
              res@vpYF        = 0.8<br>
              res@vpHeightF   = 0.3<br>
              res@vpWidthF    = 0.3</font><br>
            <br>
            As you can see in die picture, the x-coordinate is correct
            (0.2).<br>
            But the y coordinate of the viewport isn't 0.8 (it is
            0.784).<br>
            Why? Is that because of my lat/lon settings for the contour
            plot? <br>
            Any ideas?<br>
            <br>
            Regards.<br>
            <br>
            <div class="gmail-m_-3359427816961332658moz-cite-prefix">Am
              19.02.2019 um 05:49 schrieb Rick Brownrigg:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div>Hi,</div>
                    <div><br>
                    </div>
                    <div>I have to wonder if you might have better luck
                      trying your annotations in NDC space. There are a
                      number of functions named "gsn_XXX_ndc() that
                      operate in this coordinate system. The function
                      "drawNDCGrid()" can be helpful in understanding
                      what's going on.<br>
                    </div>
                    <div><br>
                    </div>
                    <div>    <a
href="http://ncl.ucar.edu/Document/Functions/Shea_util/drawNDCGrid.shtml"
                        target="_blank" moz-do-not-send="true">http://ncl.ucar.edu/Document/Functions/Shea_util/drawNDCGrid.shtml</a></div>
                    <div><br>
                    </div>
                    <div>HTH...</div>
                    <div>Rick<br>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Mon, Feb 18, 2019
                  at 5:26 PM MeteoBB <<a
                    href="mailto:info@meteo-bb.de" target="_blank"
                    moz-do-not-send="true">info@meteo-bb.de</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 bgcolor="#FFFFFF"> Hi,<br>
                    <br>
                    i have a map with a countur plot and want to add
                    above the map a box with some infos (see the
                    attached pic).<br>
                    Drawing the box is no problem, but when i turn off
                    the MainString, then there is no area left to draw
                    my box, because the <br>
                    map is slipping up. Yes, i could leave the MainTitle
                    empty. But this is not satisfying.<br>
                    <br>
                    Tried setting:<br>
                    <b><font face="Courier New">res@gsnBoxMargin = 0.05
                      </font></b><br>
                    <br>
                    seems to be a good start. But is there a resource
                    only for a margin-top?<br>
                    Or do i have to set the viewport manually with <b>vpXF</b>,<b>
                      vpYF</b>, <b>vpWidthF</b>, <b>vpHeightF</b>?<br>
                    <br>
                    Thanks.<br>
                    <br>
                    <br>
                  </div>
                  _______________________________________________<br>
                  ncl-talk mailing list<br>
                  <a href="mailto:ncl-talk@ucar.edu" target="_blank"
                    moz-do-not-send="true">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"
                    moz-do-not-send="true">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
                </blockquote>
              </div>
            </blockquote>
            <br>
          </div>
          _______________________________________________<br>
          ncl-talk mailing list<br>
          <a href="mailto:ncl-talk@ucar.edu" target="_blank"
            moz-do-not-send="true">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" moz-do-not-send="true">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <div><br>
      </div>
      -- <br>
      <div dir="ltr" class="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" moz-do-not-send="true">www.cgd.ucar.edu/staff/asphilli/</a>  
                          </font></span><span><font color="#888888">303-497-1726
                          </font></span></div>
                      <span></span>
                      <div>
                        <div><span><font color="#888888"><br>
                            </font></span>
                          <div><span></span></div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>