<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thank you Mary, that has done the trick.</p>
    <p>Regards</p>
    <p>Michael<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 28/08/2017 18:25, Mary Haley wrote:<br>
    </div>
    <blockquote
cite="mid:CACNN_CKm4m=KQrBQPdNNPdUAdSvy44BC+dFGVCc398yfH3mvvg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:small">Hi Michael,</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">I think the
          key, which may seem somewhat counterintuitive, is to not set
          res@gsnMaximize = True. The reason for this is that
          gsnMaximize is actually trying to resize things so they'll fit
          in a unit square, and apparently it's adding a little of a
          margin (feature or bug, I'm not sure).</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">To force no
          border, I suggest not setting gsnMaximize, and you may also
          want to set vpXF=0, vpYF=1, vpWidthF=1, and vpHeightF=1.</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">I've created
          an example script, attached.</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
        <div class="gmail_default" style="font-size:small">--Mary</div>
        <div class="gmail_default" style="font-size:small"><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Aug 28, 2017 at 2:35 AM,
          Michael Weston <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:mjweston@masdar.ac.ae" target="_blank">mjweston@masdar.ac.ae</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Dear NCL users<br>
              <br>
              I am using gsn_csm_contour to plot a single png image of
              temperature from WRF.<br>
              However the result produces a white border around the plot
              (e.g. attached).<br>
              Is it possible to remove this border?<br>
              Although doubtful, I tried;<br>
                  res@gsnAttachBorderOn = False<br>
                  res@mpPerimOn = False<br>
              <br>
              There are no overlays.<br>
              <div class="m_5141798374898389872moz-signature">Are there
                any other suggestions on solving this?<br>
                <br>
                Thanks and regards<br>
                <br>
                -- <br>
                <br>
                <div class="m_5141798374898389872moz-signature">
                  <div class="m_5141798374898389872moz-signature"><b>Michael</b><font
                      face="Arial,sans-serif" color="#1F497D"><b> </b></font><font
                      face="Arial,sans-serif" color="black"><b>Weston</b></font><font
                      face="Arial,sans-serif" color="black"><b><br>
                      </b></font><font face="Arial,sans-serif"
                      color="black" size="2"><span
                        style="font-size:10pt">Research Engineer </span></font></div>
                  <img alt=""
                    src="cid:part2.4690B724.98115F5F@masdar.ac.ae"
                    height="57" width="339"><br>
                  <br>
                  <b><span
                      style="font-size:10.0pt;font-family:"Arial",sans-serif">A
                      Part of Khalifa University of Science and
                      Technology<span style="color:#1f497d"></span></span></b>
                  <p class="MsoNormal"
                    style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal">
                  </p>
                  <div style="margin:0"><font face="Calibri,sans-serif"
                      size="2"><span style="font-size:11pt"><font
                          face="Arial,sans-serif" color="#0391BE"
                          size="2"><span style="font-size:10pt">PO Box
                            54224, Abu Dhabi, </span></font><font
                          face="Arial,sans-serif" color="#0391BE"
                          size="2"><span style="font-size:10pt"><br>
                            United Arab Emirates</span></font><font
                          face="Arial,sans-serif" color="#0391BE"
                          size="2"><span style="font-size:10pt"><br>
                            Office   <a moz-do-not-send="true"
                              href="tel:+971%202%20810%209510"
                              value="+97128109510" target="_blank">+971
                              2 810 9510</a></span></font></span></font></div>
                  <font face="Arial,sans-serif" color="#0391BE" size="2"><span
                      style="font-size:10pt"><br>
                    </span></font>
                  <div style="margin:0"><font face="Calibri,sans-serif"
                      size="2"><span style="font-size:11pt"><font
                          face="Arial,sans-serif" color="#0391BE"
                          size="2"><span style="font-size:10pt">Email   </span></font><a
                          moz-do-not-send="true"
                          href="mailto:mjweston@masdar.ac.ae"
                          target="_blank"><font face="Times New
                            Roman,serif">mjweston@masdar.ac.ae</font></a><font
                          face="Times New Roman,serif" color="#0391BE">
                        </font><font face="Times New Roman,serif"
                          color="black"> </font><font
                          face="Arial,sans-serif" color="#0391BE"
                          size="2"><span style="font-size:10pt"></span></font></span></font></div>
                  <div style="margin:0"><font face="Calibri,sans-serif"
                      size="2"><span style="font-size:11pt"><font
                          color="black"> </font><a
                          moz-do-not-send="true"
                          href="http://www.masdar.ac.ae/"
                          target="_blank"><font face="Arial,sans-serif"
                            size="2"><span style="font-size:10pt">http://www.masdar.ac.ae</span></font></a></span></font></div>
                  <div style="margin:0"><font face="Calibri,sans-serif"
                      size="2"><span style="font-size:11pt"><font
                          face="Times New Roman,serif" color="black"
                          size="3"><span style="font-size:12pt"><b> </b></span></font></span></font></div>
                  <div style="margin:0"><font face="Calibri,sans-serif"
                      size="2"><span style="font-size:11pt"> </span></font></div>
                  <div style="margin:0"><font face="Calibri,sans-serif"
                      size="2"><span style="font-size:11pt"><font
                          face="Webdings" color="#0099FF" size="2"><span
                            style="font-size:10pt"></span></font><font
                          color="#0099FF" size="2"><span
                            style="font-size:10pt"> </span></font><font
                          face="Arial,sans-serif" color="#0099FF"
                          size="1"><span style="font-size:8pt"><i>Please
                              consider the environment before printing
                              this email</i></span></font><font
                          face="Arial,sans-serif" color="#0099FF"
                          size="1"><span style="font-size:8pt"><i><br>
                            </i></span></font><font
                          face="Arial,sans-serif" color="#0099FF"
                          size="1"><span style="font-size:8pt"><br>
                            This transmission is confidential and
                            intended solely for the person or
                            organization to whom it is addressed. It may
                            contain privileged and confidential
                            information. If you are not the intended
                            recipient, you should not copy, distribute
                            or take any action in reliance on it. If you
                            have received this transmission in error,
                            please notify us immediately by e-mail at </span></font><font
                          face="Arial,sans-serif" size="1"><span
                            style="font-size:8pt"><b><font
                                color="#0099FF"><a
                                  moz-do-not-send="true"
                                  class="m_5141798374898389872moz-txt-link-abbreviated"
                                  href="mailto:info@masdar.ae"
                                  target="_blank">info@masdar.ae</a></font></b></span></font><font
                          face="Arial,sans-serif" color="#0099FF"
                          size="1"><span style="font-size:8pt"><b>.</b>
                          </span></font></span></font></div>
                </div>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            ncl-talk mailing list<br>
            <a moz-do-not-send="true" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
            List instructions, subscriber options, unsubscribe:<br>
            <a moz-do-not-send="true"
              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>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <title></title>
      <br>
      <div class="moz-signature">
        <div class="moz-signature"><b>Michael</b><font
            face="Arial,sans-serif" color="#1F497D"><b> </b></font><font
            face="Arial,sans-serif" color="black"><b>Weston</b></font><font
            face="Arial,sans-serif" color="black"><b><br>
            </b></font><font face="Arial,sans-serif" color="black"
            size="2"><span style="font-size:10pt;">Research Engineer </span></font></div>
        <img alt="" src="cid:part9.D0915A17.95A830CF@masdar.ac.ae"
          height="57" width="339"><br>
        <br>
        <b><span
            style="font-size:10.0pt;font-family:"Arial",sans-serif">A
            Part of Khalifa University of Science and Technology<span
              style="color:#1F497D"><o:p></o:p></span></span></b>
        <p class="MsoNormal"
          style="margin-bottom:0in;margin-bottom:.0001pt;line-height:normal">
        </p>
        <div style="margin:0;"><font face="Calibri,sans-serif" size="2"><span
              style="font-size:11pt;"><font face="Arial,sans-serif"
                color="#0391BE" size="2"><span style="font-size:10pt;">PO
                  Box 54224, Abu Dhabi, </span></font><font
                face="Arial,sans-serif" color="#0391BE" size="2"><span
                  style="font-size:10pt;"><br>
                  United Arab Emirates</span></font><font
                face="Arial,sans-serif" color="#0391BE" size="2"><span
                  style="font-size:10pt;"><br>
                  Office   +971 2 810 9510</span></font></span></font></div>
        <font face="Arial,sans-serif" color="#0391BE" size="2"><span
            style="font-size:10pt;"><br>
          </span></font>
        <div style="margin:0;"><font face="Calibri,sans-serif" size="2"><span
              style="font-size:11pt;"><font face="Arial,sans-serif"
                color="#0391BE" size="2"><span style="font-size:10pt;">Email   </span></font><a
                href="mailto:mjweston@masdar.ac.ae" target="_blank"><font
                  face="Times New Roman,serif">mjweston@masdar.ac.ae</font></a><font
                face="Times New Roman,serif" color="#0391BE"> </font><font
                face="Times New Roman,serif" color="black"> </font><font
                face="Arial,sans-serif" color="#0391BE" size="2"><span
                  style="font-size:10pt;"></span></font></span></font></div>
        <div style="margin:0;"><font face="Calibri,sans-serif" size="2"><span
              style="font-size:11pt;"><font color="black"> </font><a
                href="http://www.masdar.ac.ae/" target="_blank"><font
                  face="Arial,sans-serif" size="2"><span
                    style="font-size:10pt;">http://www.masdar.ac.ae</span></font></a></span></font></div>
        <div style="margin:0;"><font face="Calibri,sans-serif" size="2"><span
              style="font-size:11pt;"><font face="Times New Roman,serif"
                color="black" size="3"><span style="font-size:12pt;"><b> </b></span></font></span></font></div>
        <div style="margin:0;"><font face="Calibri,sans-serif" size="2"><span
              style="font-size:11pt;"> </span></font></div>
        <div style="margin:0;"><font face="Calibri,sans-serif" size="2"><span
              style="font-size:11pt;"><font face="Webdings"
                color="#0099FF" size="2"><span style="font-size:10pt;"></span></font><font
                color="#0099FF" size="2"><span style="font-size:10pt;">
                </span></font><font face="Arial,sans-serif"
                color="#0099FF" size="1"><span style="font-size:8pt;"><i>Please
                    consider the environment before printing this email</i></span></font><font
                face="Arial,sans-serif" color="#0099FF" size="1"><span
                  style="font-size:8pt;"><i><br>
                  </i></span></font><font face="Arial,sans-serif"
                color="#0099FF" size="1"><span style="font-size:8pt;"><br>
                  This transmission is confidential and intended solely
                  for the person or organization to whom it is
                  addressed. It may contain privileged and confidential
                  information. If you are not the intended recipient,
                  you should not copy, distribute or take any action in
                  reliance on it. If you have received this transmission
                  in error, please notify us immediately by e-mail at </span></font><font
                face="Arial,sans-serif" size="1"><span
                  style="font-size:8pt;"><b><font color="#0099FF"><a class="moz-txt-link-abbreviated" href="mailto:info@masdar.ae">info@masdar.ae</a></font></b></span></font><font
                face="Arial,sans-serif" color="#0099FF" size="1"><span
                  style="font-size:8pt;"><b>.</b> </span></font></span></font></div>
      </div>
    </div>
  </body>
</html>