<div dir="ltr">Hi,<div><br></div><div>I produce a vertical plane of, in this case, simulated reflectivity. I want to then manually define the y axis (in this case z) to have tick marks every 2 km from 0 to 10 km. This is proving surprisingly difficult. </div><div><br></div><div>This WRF run has 39 vertical levels, yet somehow a PrintVarSummary of the newly-created plane (below) reveals that its vertical extent is "100". 100 whats? Not 100 vertical levels, not 100 meters or 100 km, not 100 hPa...</div><div><br></div><div>I figured out how to use the tmYLValues and tmYLLabels options in xy plotting resources (also below) to define where to put tick marks and what to label them, to get me the 2-4-6-8-10 that I want, <b>but my problem is: how do I get them to match the actual vertical coordinate of the data (meters or km)?</b> Right now, I can put in any numbers I want and it'll put them there, but the contours don't move, so the actual height of the data is not changing, and remains unknown.</div><div><br></div><div><div><font face="monospace, monospace">Variable: dbz_plane</font></div><div><font face="monospace, monospace">Type: float</font></div><div><font face="monospace, monospace">Total Size: 60400 bytes</font></div><div><font face="monospace, monospace"> 15100 values</font></div><div><font face="monospace, monospace">Number of Dimensions: 2</font></div><div><font face="monospace, monospace">Dimensions and sizes: [Vertical | 100] x [Horizontal | 151]</font></div><div><font face="monospace, monospace">Coordinates:</font></div><div><font face="monospace, monospace">Number Of Attributes: 4</font></div><div><font face="monospace, monospace"> _FillValue : 9.96921e+36</font></div><div><font face="monospace, monospace"> units : dBZ</font></div><div><font face="monospace, monospace"> description : Reflectivity</font></div><div><font face="monospace, monospace"> Orientation : Cross-Section: (27,254) to (142,156)</font></div><div><br></div><div>****************************************************</div><div><br></div><div><div><font face="monospace, monospace"> ; Options for XY Plots</font></div><div><font face="monospace, monospace"> opts_xy = res</font></div><div><font face="monospace, monospace"> opts_xy@tiYAxisString = "Height (km)"</font></div><div><font face="monospace, monospace"> opts_xy@cnMissingValPerimOn = True</font></div><div><font face="monospace, monospace"> opts_xy@cnMissingValFillColor = 0</font></div><div><font face="monospace, monospace"> opts_xy@cnMissingValFillPattern = 11</font></div><div><font face="monospace, monospace"> opts_xy@tmYLMode = "Explicit"</font></div><div><font face="monospace, monospace"> ;opts_xy@tmYLValues = fspan(0,100,6) ; Create tick marks</font></div><div><font face="monospace, monospace"> ;opts_xy@tmYLLabels = fspan(0,10,6) ; Create labels</font></div><div><font face="monospace, monospace"> opts_xy@tiXAxisFontHeightF = 0.020</font></div><div><font face="monospace, monospace"> opts_xy@tiYAxisFontHeightF = 0.020</font></div><div><font face="monospace, monospace"> opts_xy@tmXBMajorLengthF = 0.02</font></div><div><font face="monospace, monospace"> opts_xy@tmYLMajorLengthF = 0.02</font></div><div><font face="monospace, monospace"> opts_xy@tmYLLabelFontHeightF = 0.015</font></div><div><font face="monospace, monospace"> opts_xy@PlotOrientation = dbz_plane@Orientation</font></div></div><div><br></div><div><br></div><div>Thanks,</div><div>Ryan</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><font size="1">Ryan Connelly</font></div><div dir="ltr"><div dir="ltr" style="font-size:12.8px"><font color="#000000"><font size="1">M.S. Student in Atmospheric Sciences, </font><span style="font-size:x-small">Stony Brook University</span><br></font></div><div dir="ltr" style="font-size:12.8px"><div><font color="#000000"><font size="1">B.S. in Meteorology with Minors in Mathematics and GIS, </font><span style="font-size:x-small">Valparaiso University</span></font></div></div><div><a href="mailto:rconne01@gmail.com" style="font-size:x-small" target="_blank">rconne01@gmail.com</a><br></div><div><font size="1"><a href="mailto:ryan.connelly@stonybrook.edu" target="_blank">ryan.connelly@stonybrook.edu</a></font></div></div></div></div></div></div></div></div></div></div>
</div></div>