<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Hi Adam,</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Thank you for the comment. However, what I want to do is draw the base plot such that it only occupies the lower half of the plot space, and for gsn_csm_contour to overwrite the vertical axis labels regardless of the vertical levels of the base plot, and that is a different effect. Your data extends further beyond the point where the filled contour plot stops. But I have two datasets with different number of vertical levels and different ranges of values.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Melissa</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 1, 2019 at 1:48 PM Adam Phillips <<a href="mailto:asphilli@ucar.edu">asphilli@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Melissa,<div>I think all you need to do is to set trYMinF appropriately. I modified Pressure vs Time example #3 to replicate what you are doing:</div><div><a href="http://www.ncl.ucar.edu/Applications/height_time.shtml#ex3" target="_blank">http://www.ncl.ucar.edu/Applications/height_time.shtml#ex3</a><br></div><div><br></div><div>Setting trYMinF results in a warning but everything looks good. I've attached the modified script and the resulting plot.</div><div>Adam</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 1, 2019 at 10:21 AM MELISSA KAZEMI RAD via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Hi,</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I have an urgent problem. I have two 2D datasets with dimensions height and time. However, they differ in their height dimension size; one has 26 vertical levels that ranges from 0 to 1500 m, the other 100 vertical levels that range from 0 to 3000 m. I'd like to overlay the second dataset (line contour) on the first one (filled contour), but I'm running into problems because the base plot has fewer vertical levels. I tried res@tfDoNDCOverlay = True but it's not working. </div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I was wondering how I could achieve this overlay. what I'd like to be able to draw the base contour plot so that it takes the lower half of the plot, and then overlay the line contour plot, and then write the Y axis labels that range from 0 to 3000. </div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I'd really appreciate any help.</div><div class="gmail_default" style="font-family:georgia,serif">Melissa</div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><font face="georgia, serif"><i>Melissa Kazemi Rad</i></font><div><font face="georgia, serif"><i>Atmospheric Sciences Department</i></font></div><div><font face="georgia, serif"><i>Rutgers University</i></font></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="georgia, serif"><i>Melissa Kazemi Rad</i></font><div><font face="georgia, serif"><i>Atmospheric Sciences Department</i></font></div><div><font face="georgia, serif"><i>Rutgers University</i></font></div></div></div>