<div dir="ltr"><div class="gmail_default" style="font-size:small">Pallavi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If by the "black portion" you mean the line contours, then there's not really a resource to smooth line contours. You can look at our "smth9" function, and there's an example at:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style><a href="http://www.ncl.ucar.edu/Applications/lat_time.shtml#ex1">http://www.ncl.ucar.edu/Applications/lat_time.shtml#ex1</a><br></div><div class="gmail_default" style><br></div><div class="gmail_default" style>Regarding the squeezed plots: this is what I was trying to point out in the lab, that you had asked to have a certain width and height of your plot, but this causes your map plot to be skewed, which you generally don't want. If you don't set the mpShapeMode resource at all, then you will get a non-skewed plot.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>Regarding why the "title is on top". I assume you mean that it is very close to the edge? If so, then yes, this is caused by using the "-trim" option. This shouldn't be an issue, because while it is very close to the edge, it shouldn't be cutting anything off. You can try leaving "-trim" off, and see how this looks.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>To specify two titles, you can set a carriage return in the middle of your title, using the special "~C~" syntax:</div><div class="gmail_default" style><br></div><div class="gmail_default" style><div style="font-size:12.8000001907349px">res_U@txString = "Monthly Average Aerosol~C~Optical Depth AOD @ 550nm"</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">This will cause the title to look like this:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px">Monthly Average Aerosol</div><div style="font-size:12.8000001907349px">Optical Depth AOD @ 550nm</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">So you might need to add some spaces to the first part if you want it centered:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px">res_U@txString = " Monthly Average Aerosol~C~Optical Depth AOD @ 550nm"</div><div><br></div><div>--Mary</div><div><br></div></div><div><br></div><div><br></div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div><br></div></div><div class="gmail_default" style><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 4:00 PM, Pallavi Marrapu - NOAA Affiliate <span dir="ltr"><<a href="mailto:pallavi.marrapu@noaa.gov" target="_blank">pallavi.marrapu@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div> I am looking for smoothing option for the plot. The following attachment has the plot.</div><div>The black portion needs to be smoothed.</div><div>I used following option but it did not really help out.</div><div>res@cnRasterSmoothingOn = True</div><div>res@cnSmoothingDistanceF = 15</div><div>res@cnSmoothingTensionF = 1</div><div>Could you tell me how to use the smoothing option in the script.</div><div><br></div><div>Another question is regarding title position.</div><div>The aod.png has aod plot. but if you look at the plots they look squeezed </div><div>Is it because of the aspect ratio specified?</div><div><br></div><div><div>Edit the Aspect ratio of the plot</div><div><br></div><div> res@mpShapeMode = "FreeAspect"</div><div> res@vpWidthF = 0.8</div><div> res@vpHeightF = 0.5</div><div><br></div></div><div><br></div><div>and the title also is almost on the top.</div><div>I use trim option is that the reason for the title to move up?</div><div><br></div><div><br></div><div><div>res_U@txString = "Monthly Average Aerosol Optical Depth AOD @ 550nm"</div><div> res_U@txFontHeightF = 0.025</div></div><div><br></div><div>How do I specify title in two rows instead of one long lengthy ?</div><div><br></div><div>Could you help me with this.</div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>Pallavi</div><div><br></div></font></span></div>
</blockquote></div><br></div>