<div dir="ltr"><div dir="ltr">I don't know if this would work or not, but Dave could you create a blank plot (with the fixed Y-axis that you'd like), and then overlay your original plot on it? <div><a href="https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_blank_plot.shtml">https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_csm_blank_plot.shtml</a><br></div><div>Adam</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 2:56 PM David Bailey <<a href="mailto:dbailey@ucar.edu">dbailey@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:arial,helvetica,sans-serif">Thank Rick. I had been thinking later that I could rebin my data so that it would have a regular Y axis and then fill with missing values. This however seems like a lot of extra work. I would have to average into the bins and it would be ugly. I can probably live with the different Y axis in each plot.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dave</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 2:49 PM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@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 dir="ltr"><div dir="ltr"><div>Hi Dave,</div><div><br></div><div>I am stumped here. It would appear that trYMinF *should* be the way to go. But I'm getting this error message:</div><div><br></div><div> warning:ContourPlotSetValues: current transformation requires trYMinF to be within data coordinate range: resetting</div><div><br></div><div>And I track that down in the code, and for whatever reason, if the axis is irregular or curvilinear (as in your case), the values of trYMinF/MaxF are constrained to be within the data range of the y-coordinate. This is mentioned in example #6 here:</div><div><br></div><div> <a href="http://ncl.ucar.edu/Applications/axes.shtml" target="_blank">http://ncl.ucar.edu/Applications/axes.shtml</a></div><div><br></div><div>Is it possible to manipulate your data that the grid for Tinzs always has a common y coordinate, constrained to be in the desired range? (I don't understand you data well enough to know if this even makes sense).</div><div><br></div><div>I wish I had a better answer -- perhaps someone else on ncl-talk can step up.</div><div><br></div><div>Rick<br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 1:28 PM David Bailey <<a href="mailto:dbailey@ucar.edu" target="_blank">dbailey@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:arial,helvetica,sans-serif">That is correct. Feel free to run it.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dave</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 1:27 PM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@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">May I run a copy of that script against the datasets -- it looks like the only output are plots?<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 11:41 AM David Bailey <<a href="mailto:dbailey@ucar.edu" target="_blank">dbailey@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:arial,helvetica,sans-serif">My script is in:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">/glade/u/home/dbailey/ncl/tinz_contour.ncl</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dave</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 11:39 AM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@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>Hi Dave, which plotting function are you using? Is it just gsn_csm_contour()?</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 7, 2019 at 11:31 AM David Bailey <<a href="mailto:dbailey@ucar.edu" target="_blank">dbailey@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:arial,helvetica,sans-serif">Hi all,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I am using the sfAXArray and sfYArray capability to contour a two-dimensional field of temperature versus depth in the sea ice where the vertical axis (depth) changes in time. This works *almost* as expected for me (see attached). The one nit-picky issue I have is that I would like to fix the lower bound on the Y-axis to say -5m. I have tried trYMax and sfYCEndV, but these are ignored and the minimum value in on the sfYArray axis is always chosen. Has anyone had experience with this and have a workaround? Thanks!</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dave</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_1320040209925768481gmail-m_8859156028785499059gmail-m_-7303422315659265124gmail-m_-1592337253303382556gmail-m_-1615974646216255867gmail-m_6514889064892787179gmail-m_2705447423166971156gmail_signature"><div dir="ltr"><div><div dir="ltr">
<p>David A Bailey email: <a href="http://dbailey_at_ucar.edu" target="_blank">dbailey_at_ucar.edu</a><br>National Center for Atmospheric Research phone: 303-497-1737<br>PO Box 3000 fax : 303-497-1700<br>Boulder, CO 80307-3000<br> <a href="http://www.cgd.ucar.edu/staff/dbailey" target="_blank">http://www.cgd.ucar.edu/staff/dbailey</a></p></div></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><br>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_1320040209925768481gmail-m_8859156028785499059gmail-m_-7303422315659265124gmail-m_-1592337253303382556gmail-m_-1615974646216255867gmail_signature"><div dir="ltr"><div><div dir="ltr">
<p>David A Bailey email: <a href="http://dbailey_at_ucar.edu" target="_blank">dbailey_at_ucar.edu</a><br>National Center for Atmospheric Research phone: 303-497-1737<br>PO Box 3000 fax : 303-497-1700<br>Boulder, CO 80307-3000<br> <a href="http://www.cgd.ucar.edu/staff/dbailey" target="_blank">http://www.cgd.ucar.edu/staff/dbailey</a></p></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_1320040209925768481gmail-m_8859156028785499059gmail-m_-7303422315659265124gmail_signature"><div dir="ltr"><div><div dir="ltr">
<p>David A Bailey email: <a href="http://dbailey_at_ucar.edu" target="_blank">dbailey_at_ucar.edu</a><br>National Center for Atmospheric Research phone: 303-497-1737<br>PO Box 3000 fax : 303-497-1700<br>Boulder, CO 80307-3000<br> <a href="http://www.cgd.ucar.edu/staff/dbailey" target="_blank">http://www.cgd.ucar.edu/staff/dbailey</a></p></div></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_1320040209925768481gmail_signature"><div dir="ltr"><div><div dir="ltr">
<p>David A Bailey email: <a href="http://dbailey_at_ucar.edu" target="_blank">dbailey_at_ucar.edu</a><br>National Center for Atmospheric Research phone: 303-497-1737<br>PO Box 3000 fax : 303-497-1700<br>Boulder, CO 80307-3000<br> <a href="http://www.cgd.ucar.edu/staff/dbailey" target="_blank">http://www.cgd.ucar.edu/staff/dbailey</a></p></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><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><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>