<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'm trying to figure out how to plot composites of averages of a number of variables with respect to height Z from WRF. What I'm looking for is the same as what is done in Jones, et al. 2011 paper:</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style=""><font face="georgia, serif">"For the composited profiles, the profiles were scaled so each LCL and zi aligned. The composite mean was then rescaled so that the dashed black line indicates the mean zi for each subset of profiles included in the composite, and the dashed red line the mean LCL."</font></div><div><br></div><div><div class="gmail_default" style="font-family:georgia,serif">I'm attaching the respective plot from the paper. What I'm struggling with is that the height dimension of each variable is discretized into a number of pre-set vertical levels, and I cannot see how I can determine a fixed height for all of them, so that their average will have the same height. I'm not sure if interpolation would work here, because it still keeps the vertical levels the same and just interpolates values between them.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I really appreciate some help.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Bests,</div><div class="gmail_default" style="font-family:georgia,serif">Melissa</div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:georgia,serif"><span style="font-family:Arial,Helvetica,sans-serif">-- </span></div></div><div dir="ltr" class="gmail_signature" data-smartmail="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></div>