<div dir="ltr">Hi NCL users,<br><div><br></div><div>I have a xy-plot consisting of 2 y-axes, and I am using gsn_csm_xy2 for this purpose, each axis having a set of lines. For both sets of y lines, I want to overlay the mean of those lines by using gsn_add_polyline. This works fine for the one set of lines, but the mean for the 2nd data set is false because it is oriented on the left axis instead of the right axis as it should be (see plots attached). How can I overcome this issue?</div><div>I have attached the script and the pots. </div><div>When I plot only 1 set of lines, so using 1 y-axis, then the overlying works fine.</div><div>My guess is that NCL gets confused using gsn_add_polyline twice, and it aligns both additional lines at the left axis.</div><div><br></div><div>Anyone has any experience with this?</div><div><br></div><div>Thank you</div><div>Anne </div><div><br></div></div>