<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body 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&nbsp;&nbsp; = 0<br>
resL@gsnYRefLineColor = "forestgreen"<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&nbsp;&nbsp; = 0<br>
resM@gsnYRefLineColor = "red"<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: dbozkurt@dgf.uchile.cl, deniboz@gmail.com<br>
Web: http://dgf.uchile.cl/~dbozkurt/</span></span></p>
</body>
</html>