<div dir="ltr">Hi Dennis,<div>Yes, you are right Height is just added as the label for right-Y axis, not like gsn_csm_xy2.ncl. I searched &quot;<span style="font-size:18px">gsn_csm_pres_hgt_vec</span><span style="font-size:18px">tor</span>&quot; the code (<span style="font-family:Courier;font-size:14px">gsn_csm.ncl</span>). However, I did not find how it calculates the height using pressure value. Do you know who wrote this code (<span style="font-family:Courier;font-size:14px">gsn_csm.ncl</span>) or do you know who is more familiar with this code? Thank you,</div><div><br></div><div>Zhifeng</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 20, 2015 at 10:31 AM, Dennis Shea <span dir="ltr">&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&quot; I am not sure how to add a polyline using the right y-axis&quot;<br>
<br>
</span>I did not write this so I am guessing:<br>
<br>
I think the right-y-axis (&quot;Height&quot;) is not a y-coordinate. Rather,<br>
&#39;under-the-hood,&#39; a function (say) Height = f(pressure) was used to<br>
estimate the heights for labeling purposes.<br>
<br>
if the x-axis is (say, lat or lon), and you have:<br>
      polyline_values = f(x,height)<br>
then you may have to recast the 2nd line in terms of pressure and add<br>
like the 1st polyline<br>
<div><div class="h5"><br>
<br>
<br>
<br>
<br>
On Wed, Aug 19, 2015 at 2:16 PM, Zhifeng Yang &lt;<a href="mailto:yangzf01@gmail.com">yangzf01@gmail.com</a>&gt; wrote:<br>
&gt; Hi<br>
&gt;<br>
&gt; Sorry for posting this problem again. Since I haven&#39;t received reply from my<br>
&gt; previous post, I promote it by myself.<br>
&gt;<br>
&gt; I want to add a polyline on a image generated by gsn_csm_pres_hgt_vector,<br>
&gt; and the y value of the polyline is height, which is the right y-axis. I can<br>
&gt; add a polyline using the left y-axis, but I need to reverse pressure to plot<br>
&gt; a polyline. I don&#39;t know how to plot a polyline with reversed y-axis. Most<br>
&gt; important, I am not sure how to add a polyline using the right y-axis. Do<br>
&gt; you know how to fix it?<br>
&gt; Thank you.<br>
&gt;<br>
&gt; Best,<br>
&gt; Zhifeng<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; ncl-talk mailing list<br>
&gt; <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
&gt; List instructions, subscriber options, unsubscribe:<br>
&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;<br>
</blockquote></div><br></div>