<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Ty,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I don't have immediate idea as to why the double axes are showing up. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The wrf_map_overlays procedure calls "overlay" to overlay the contour plots on the map plot, and it's supposed to take care of removing the tickmarks from the contour plot before doing the overlay.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">There are a couple of issues with the script that might be the source of the problem.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">First, since you are using wrf_contour and wrf_map_overlays, you do not want to call:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">ares = wrf_map_resources(a[1],ares)</div><div><br></div><div>This call adds a bunch of map resources (mpXXXX) to the ares variable, which then gets passed to wrf_contour. Since wrf_contour just creates a contour plot and doesn't know anything about maps, you should be getting a bunch of warnings about the mpXXX resources not being recognized. And, I wouldn't be surprised if that call is causing tickmarks to be forced on for the contour plot, hence creating the double axes.</div><div><br></div><div>Second, "contour_avo" is already an array of plots, so instead of this:</div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><div class="gmail_default" style="font-size:small">plot = wrf_map_overlays(a[0],wks,(/contour_avo/),mpres,ares)</div><div style="font-size:small"><br></div><div style="font-size:small">you simply need:</div><div style="font-size:small"><br></div><div><div>plot = wrf_map_overlays(a[0],wks,contour_avo,mpres,ares)</div></div><div><br></div><div>I don't think this will actually change anything. </div><div><br></div><div>Let ncl-talk know if removing the wrf_map_resources line doesn't work.</div><div><br></div><div>--Mary</div><div><br></div><div style="font-size:small"><br></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 29, 2018 at 11:33 AM, Ty Buckingham <span dir="ltr"><<a href="mailto:ty.buckingham@manchester.ac.uk" target="_blank">ty.buckingham@manchester.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Hi there,
<div><br>
</div>
<div>I've been plotting WRF data using the "wrf_user_ll_to_ij" function to zoom in on an area of interest, however my axis are doubling up for some reason (see attached plot) and I'm not sure how to eliminate the grid number axis (ideally I'd like to keep the
lat/lon labels).</div>
<div><br>
</div>
<div>Secondly, my plot has decided to rotate itself by 90 degrees. I've tried a manner of fixes but none have resolved the issue. Any chance I could get some help with this too?</div>
<div><br>
</div>
<div>Thanks!</div><span class="HOEnZb"><font color="#888888">
<div>Ty</div>
</font></span></div>
</div>
<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>