<div dir="ltr"><div class="gmail_default" style="font-size:small">Deniz,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I was unable to reproduce the problem.  Can you try running this script, which does what I think you were describing?  I think you should be able to run it as-is, and it should produce the attached PNG image.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 23, 2015 at 2:26 PM, Deniz Bozkurt <span dir="ltr">&lt;<a href="mailto:bozkurtd@itu.edu.tr" target="_blank">bozkurtd@itu.edu.tr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>




<div style="font-family:Arial;font-size:14px">
<p>Hi all,<br>
<br>
I am using “gsn_csm_xy3” function to have an XY plot with three different Y axes (figure is attached). A horizontal reference line is added by “gsnYRefLine” resource for the right Y axis with these lines:<br>
<br>
resL@gsnYRefLine   = 0<br>
resL@gsnYRefLineColor = &quot;forestgreen&quot;<br>
resL@gsnYRefLineThicknessF = 1.0<br>
resL@gsnYRefLineDashPattern = 0<br>
<br>
When I simply try to add another reference line for the rightmost Y axis with following lines, I am receiving “warning:TransformPostDraw: tfPolyDrawList element 0 is invalid”:<br>
<br>
resM@gsnYRefLine   = 0<br>
resM@gsnYRefLineColor = &quot;red&quot;<br>
resM@gsnYRefLineThicknessF = 1.0<br>
resM@gsnYRefLineDashPattern = 0<br>
<br>
What I have understood from NCL mailing archive, this warning message is related with multiple calling of “gsn_add_xxxx” functions. However, I don’t have any idea why NCL does not draw the reference line for the rightmost Y axis for this case. I could probably draw it by using “gsn_polyline” but I would be pleased if anyone suggests a way to do it with “gsnYRefLine”.<br>
<br>
NCL: 6.2.0<br>
<br>
Thanks in advance,<br>
<br>
Deniz<br>
<br>
<span style="color:#a9a9a9"><span style="font-size:11px">--<br>
Deniz Bozkurt, PhD<br>
Post-doctoral Fellow<br>
Center for Climate and Resilience Research<br>
Department of Geophysics, University of Chile<br>
Blanco Encalada 2002, Santiago, Chile<br>
E-mail: <a href="mailto:dbozkurt@dgf.uchile.cl" target="_blank">dbozkurt@dgf.uchile.cl</a>, <a href="mailto:deniboz@gmail.com" target="_blank">deniboz@gmail.com</a><br>
Web: <a href="http://dgf.uchile.cl/~dbozkurt/" target="_blank">http://dgf.uchile.cl/~dbozkurt/</a></span></span></p>
</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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>
<br></blockquote></div><br></div>