<P>I got an option to deal with the problem, that is "set cterp off". When plot contour lines, the cterp is set to "on" defaultly, and the lines will be smoothed by the spline interpolation algorithm. Following are steps to get rid of the problem.</P>
<P>1) open model.ctl</P>
<P>2) set cterp off</P>
<P>3) set gxout shaded</P>
<P>4) display ts</P>
<P>5) set gxout contour</P>
<P>6) display ts.<BR><BR></P>
<BLOCKQUOTE style="BORDER-LEFT: #a0c6e5 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">-----Origin email-----<BR><B>From:</B> "Srivatsan Vijayaraghavan" <tmsvs@nus.edu.sg><BR><B>Sent Time:</B> Friday, February 18, 2011<BR><B>To:</B> "GrADS Users Forum" <gradsusr@gradsusr.org><BR><B>Cc:</B> <BR><B>Subject:</B> [gradsusr] shaded plots and boundary<BR><BR>
<DIV class="WordSection1">
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt">Hi all,</SPAN> <SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt"><o:p></o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt">I have a similar problem with shaded plots. When I plot small regions or big regions (sample figures attached), the boundary is slightly away from the shaded region.<o:p></o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt">How do I fix this ?<o:p></o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt">Thanks,<o:p></o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt">Sri<o:p></o:p></SPAN></P>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: blue; FONT-SIZE: 11pt"><o:p> </o:p></SPAN></P>
<DIV>
<DIV style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class="MsoNormal"><B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt">From:</SPAN></B><SPAN style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt"> <A href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</A> [mailto:<A href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</A>] <B>On Behalf Of </B>Jennifer Adams<BR><B>Sent:</B> 15 February 2011 9:30 AM<BR><B>To:</B> GrADS Users Forum<BR><B>Subject:</B> Re: [gradsusr] Grads questions about contours, thanks<o:p></o:p></SPAN></P></DIV></DIV>
<P class="MsoNormal"><o:p> </o:p></P>
<P class="MsoNormal">You have to 'set csmooth on' to make the contour lines exactly match the shaded contours. The differences are especially noticeable with low resolution grids. --Jennifer<o:p></o:p></P>
<DIV>
<P class="MsoNormal"><o:p> </o:p></P>
<DIV>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Helvetica','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><A href="mailto:jma@cola.iges.org" target="_blank">jma@cola.iges.org</A><o:p></o:p></SPAN></P>
<DIV>
<DIV>
<DIV>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Helvetica','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><o:p> </o:p></SPAN></P></DIV>
<P class="MsoNormal"><SPAN style="FONT-FAMILY: 'Helvetica','sans-serif'; COLOR: black; FONT-SIZE: 9pt"><BR><BR><o:p></o:p></SPAN></P></DIV></DIV>
<P class="MsoNormal"><o:p> </o:p></P></DIV></DIV></DIV></BLOCKQUOTE><BR><SPAN></SPAN>