<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Muhammad,<br>
    <br>
    the lines are resulting from the gsn_polyline_ndc call, where all
    given line points were connected. What you want are three single
    boxes, so you have to define three boxes like below.<br>
    <br>
      xbox1 = (/
    lon2(0,0),lon2(0,nx2),lon2(ny2,nx2),lon2(ny2,0),lon2(0,0) /)<br>
      xbox2 = (/
    lon3(0,0),lon3(0,nx3),lon3(ny3,nx3),lon3(ny3,0),lon3(0,0) /)<br>
      xbox2 = (/
    lon4(0,0),lon4(0,nx4),lon4(ny4,nx4),lon4(ny4,0),lon4(0,0) /)<br>
    <br>
      ybox1 = (/
    lat2(0,0),lat2(0,nx2),lat2(ny2,nx2),lat2(ny2,0),lat2(0,0) /)<br>
      ybox2 = (/
    lat3(0,0),lat3(0,nx3),lat3(ny3,nx3),lat3(ny3,0),lat3(0,0) /)<br>
      ybox3 = (/
    lat4(0,0),lat4(0,nx4),lat4(ny4,nx4),lat4(ny4,0),lat4(0,0) /)<br>
    <br>
      datatondc(map, xbox1, ybox1, xbox_out1, ybox_out1)<br>
      datatondc(map, xbox2, ybox2, xbox_out2, ybox_out2)<br>
      datatondc(map, xbox3, ybox3, xbox_out3, ybox_out3)<br>
    <br>
      gsn_polyline_ndc(wks, xbox_out1, ybox_out1, lnres)<br>
      gsn_polyline_ndc(wks, xbox_out2, ybox_out2, lnres)<br>
      gsn_polyline_ndc(wks, xbox_out3, ybox_out3, lnres)<br>
    <br>
    Bye,<br>
    Karin<br>
    <br>
    <div class="moz-cite-prefix">Am 24.03.15 um 09:48 schrieb Muhammad
      Omer Mughal:<br>
    </div>
    <blockquote cite="mid:1427186923203.48797@postgrad.curtin.edu.au"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p style="margin-top: 0px; margin-bottom: 0px;">Hi </p>
        <p style="margin-top: 0px; margin-bottom: 0px;"><br>
        </p>
        <p style="margin-top: 0px; margin-bottom: 0px;">I am trying to
          plot all wrf nested domains on a single plot like the one used
          in plotgrids.ncl.The only difference is that I am using the
          topgraphic map as my base plot .The problem is tha there is a
          line appearing in the plot and I want to get rid of it .Also I
          want to add text and at designated position in the map .The
          script and ouptut are attahed and I would appreciate if some
          one can help.<br>
        </p>
        <p style="margin-top: 0px; margin-bottom: 0px;"><br>
        </p>
        <div id="Signature">
          <div id="divtagdefaultwrapper" style="font-size:12pt;
            color:#000000; background-color:#FFFFFF;
            font-family:Calibri,Arial,Helvetica,sans-serif">
            <div style="font-family:Tahoma; font-size:13px">
              <div style="font-family:Tahoma; font-size:13px"><b><br>
                </b></div>
              ​
              <div style="color:rgb(33,33,33);
                font-family:wf_segoe-ui_normal,'Segoe UI','Segoe
                WP',Tahoma,Arial,sans-serif;
                font-size:15.4545450210571px; margin:0px;
                background-color:rgb(255,255,255)">
                <font face="Times New Roman,serif" size="3"><span
                    style="font-size:12pt"><font color="#1F497D"
                      face="Arial Bold" size="2"><span
                        style="font-size:11pt">Muhammad Omer Mughal</span></font></span></font></div>
              <div style="color:rgb(33,33,33);
                font-family:wf_segoe-ui_normal,'Segoe UI','Segoe
                WP',Tahoma,Arial,sans-serif;
                font-size:15.4545450210571px; margin:0px;
                background-color:rgb(255,255,255)">
                <font face="Times New Roman,serif" size="3"><span
                    style="font-size:12pt"><font color="#1F497D"
                      face="Arial Bold" size="2"><span
                        style="font-size:11pt">MSc BSc Mechanical
                        Engineering</span></font><font color="#1F497D"
                      face="Arial,sans-serif" size="1"><span
                        style="font-size:8pt"><br>
                      </span></font><font color="#AB8303" face="Arial
                      Bold" size="2"><span style="font-size:9pt">PhD  Research Scholar</span></font></span></font></div>
              <div style="color:rgb(33,33,33);
                font-family:wf_segoe-ui_normal,'Segoe UI','Segoe
                WP',Tahoma,Arial,sans-serif;
                font-size:15.4545450210571px; margin:0px;
                background-color:rgb(255,255,255)">
                <font face="Times New Roman,serif" size="3"><span
                    style="font-size:12pt"><font color="#AB8303"
                      face="Arial Bold" size="2"><span
                        style="font-size:9pt">Remote Sensing and
                        Satellite Research Group</span></font></span></font></div>
              <div style="color:rgb(33,33,33);
                font-family:wf_segoe-ui_normal,'Segoe UI','Segoe
                WP',Tahoma,Arial,sans-serif;
                font-size:15.4545450210571px; margin:0px;
                background-color:rgb(255,255,255)">
                <font face="Times New Roman,serif" size="3"><span
                    style="font-size:12pt"><font color="#AB8303"
                      face="Arial Bold" size="2"><span
                        style="font-size:9pt">Department of Imaging and
                        Applied Physics</span></font><font
                      color="#AB8303" face="Arial Bold" size="2"><span
                        style="font-size:9pt"><br>
                        Curtin University</span></font><font
                      color="#AB8303" face="Arial Bold" size="2"><span
                        style="font-size:9pt"><br>
                      </span></font><font color="#1F497D"
                      face="Calibri,sans-serif" size="2"><span
                        style="font-size:11pt"><br>
                      </span></font><font color="#1F497D" face="Arial
                      Bold" size="2"><span style="font-size:9pt">Curtin
                        University</span></font><font color="#1F497D"
                      face="Arial Bold" size="2"><span
                        style="font-size:9pt"><br>
                      </span></font><font color="#AB8303" face="Arial
                      Bold" size="2"><span style="font-size:9pt">Tel |</span></font><font
                      color="#1F497D" face="Arial Bold" size="2"><span
                        style="font-size:9pt"> </span></font><font
                      color="#1F497D" face="Arial,sans-serif" size="2"><span
                        style="font-size:9pt">+61 8 9266 7962</span></font><font
                      color="#1F497D" face="Calibri,sans-serif" size="2"><span
                        style="font-size:9pt"> </span></font><font
                      color="#1F497D" face="Calibri,sans-serif" size="1"><span
                        style="font-size:7pt"><br>
                      </span></font><font color="#AB8303" face="Arial
                      Bold" size="2"><span style="font-size:9pt">Fax |</span></font><font
                      color="#1F497D" face="Arial Bold" size="2"><span
                        style="font-size:9pt"> </span></font><font
                      color="#1F497D" face="Arial,sans-serif" size="2"><span
                        style="font-size:9pt">+61 8 9266 2377</span></font><font
                      color="#1F497D" face="Arial,sans-serif" size="2"><span
                        style="font-size:9pt"><br>
                      </span></font><font color="#AB8303" face="Arial
                      Bold" size="2"><span style="font-size:9pt">Mobile
                        |</span></font><font color="#1F497D"
                      face="Calibri,sans-serif" size="2"><span
                        style="font-size:9pt"> </span></font><font
                      color="#1F497D" face="Arial,sans-serif" size="2"><span
                        style="font-size:9pt">0470 237 525</span></font></span></font></div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ncl-talk mailing list
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
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>