<div dir="ltr"><div><div><div><div>Hi Mary,<br></div> I have tried as per your suggestion to first overlay the plots and then to attach, but it is not doing as per my requirements. As my data is from -179 to 179 longitude wise and I want to plot from -30 to -30 that is why am attaching two plots from -30 to 179 and 179 to -30 longitude. I finally want to over lay one vector plot and one contour plot. My script with data files are attached herewith.<br>
</div>Any help will be appreciated.<br><br></div>Thanks,<br></div>Ipsita<br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1">
<a href="https://docs.google.com/file/d/0B438RTfd8A-Nc1NXeHNzMHZHekE/edit?usp=drive_web" target="_blank" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:medium none;width:100%"><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">GLOBAL_SON.nc</span></a></div>
<br><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1">
<a href="https://docs.google.com/file/d/0B438RTfd8A-NSGR3XzJGbHo3OHc/edit?usp=drive_web" target="_blank" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:medium none;width:100%"><img style="vertical-align: bottom; border: none;" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">MERRA_regrid.nc</span></a></div>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 14, 2014 at 9:03 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</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"><div class="gmail_default" style="font-size:small">Ipsita,</div><div class="gmail_default" style="font-size:small">
<br></div><div class="gmail_default" style="font-size:small">I'm not exactly sure how you want your final plot to look, but the "overlay" procedure really is meant to be used to do simply overlays of say, contours on a map, or vectors on contours on a map, etc.</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It looks like you are trying to attach some plots via X and/or Y axes, and then try to use these as overlays, which won't work. The gsn_attach_plots (which is perhaps poorly named) is simply meant to join several plots together along a given axis.</div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">My suggestion is to overlay the plots *before* you call gsn_attach_plots.</div><div class="gmail_default" style="font-size:small">
<br></div><div class="gmail_default" style="font-size:small">If you continue to have problems, please describe your desired result in more detail, and what you are currently getting of your script that isn't correct. </div>
<div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As always, it helps if you can provide a full script and your data so we can run the script here.</div><div class="gmail_default" style="font-size:small">
<br></div><div class="gmail_default" style="font-size:small">Thanks,</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><br><div class="gmail_quote"><div><div class="h5">On Wed, Aug 13, 2014 at 1:18 PM, Ipsita Putatunda <span dir="ltr"><<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div> I want to get an overlay plot of two plots which are created by attached plot. I have tried with overlay function which is not giving my desired plot. I tried with setting vpXF, vpYF for each plot also, but still am not getting overlaid plot. Is attaching plots before overlaying is causing the problem? Plotting part of my script is attached herewith.</div>
<div>Please help me to solve this issue.</div><div><br></div><div>Thanks,</div><div>Ipsita</div></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>