<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Jan 16, 2007, at 10:10 AM, Henrique Barbosa wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi,</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I am trying to plot geopotential height anomalies in</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">a polar stereographic projection.... but when I do:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">'set mproj nps'</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">'draw hgeo'</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I get the correct plot, but without axis and</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">labels. Moreover, although the plot has a circular</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">shape, grads draws a rectangular plot boundary.</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Is it possible to draw the longitude labels and</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">a circular boundary around a polar plot?</DIV></BLOCKQUOTE>The circular boundary is done with 'set frame circle'. To draw grid lines on a non-lat-lon projection, you have to contour the internal variables 'lat' and 'lon' as if you were drawing data variables. All the usual contour control settings apply. Here's something I use for COLA's weather maps: </DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>* inside the main script you call it like this:</DIV><DIV>gridlines(10,5)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>* * * * * * * * * * * * * * * * * * * * * * * * * *</DIV><DIV>* Draws grid lines at specified intervals</DIV><DIV>function gridlines(lonincr,latincr)</DIV><DIV>'set rgb 97 150 150 150'</DIV><DIV>'set gxout contour'</DIV><DIV>'set ccolor 97'</DIV><DIV>'set cint 'lonincr</DIV><DIV>'set cmin -175'</DIV><DIV>'set cmax 180'</DIV><DIV>'set clab off'</DIV><DIV>'set cstyle 5'</DIV><DIV>'set cthick 1'</DIV><DIV>'d lon'</DIV><DIV>'set ccolor 97'</DIV><DIV>'set clab off'</DIV><DIV>'set cmin -75'</DIV><DIV>'set cmax 75'</DIV><DIV>'set cint 'latincr</DIV><DIV>'set cstyle 5'</DIV><DIV>'set cthick 1'</DIV><DIV>'d lat'</DIV><DIV><BR class="khtml-block-placeholder"></DIV>--<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>Jennifer M. Adams</DIV><DIV>IGES/COLA</DIV><DIV>4041 Powder Mill Road, Suite 302</DIV><DIV>Beltsville, MD 20705</DIV><DIV><A href="mailto:jma@cola.iges.org">jma@cola.iges.org</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR class="Apple-interchange-newline"></SPAN> </DIV><BR></BODY></HTML>