<div dir="ltr"><div>Hi,</div><div><br></div><div>This is a cursory response -- I really don't know the answer in any detail. But...</div><div><br></div><div>- The docs on the resource gsnYRefLine state that it pertains to calls to gsn_csm_xy(), and so perhaps not surprising that errors stem from a call to gsn_csm_hov():</div><div><br></div><div> <a href="http://ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnYRefLine">http://ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnYRefLine</a></div><div><br></div><div>- I am perplexed by the error message's reference to "Windstress_timeseries_contour". A reference to this symbol is not found anywhere in the NCL code base -- is this a function you might have written or otherwise drawn from a 3rd party library?</div><div><br></div><div>- If I understand correctly your intent, your method of drawing multiple lines with gsn_add_polyline() would seem to be the better approach, as the docs for gsnYRefLine suggest only a singular line can be drawn.</div><div><br></div><div>I hope that helps...</div><div>Rick</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 29, 2019 at 7:22 AM Giorgio Graffino <<a href="mailto:g.graffino@tim.it">g.graffino@tim.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Dear NCL people,</div><div>I am struggling on using the resource gsnYRefLine in Hovmoeller plots generated through gsn_csm_hov.</div><div><br></div><div>Basically, I am trying to draw few reference lines (corresponding to major volcanic eruptions) in a series of time vs longitude plots, generated by using gsn_attach_plots. Every time I set the relevant resource, I obtain the following warning:</div><div><br></div><div>warning:gsnYRefLine is not a valid resource in Windstress_timeseries_contour at this time</div><div><br></div><div>I managed to obtain a decent result (see figure attached) by including a bunch of gsn_add_polyline commands in the code, but I'd like to know if there is a more elegant way to implement that, or either a way to use gsnYRefLine in a gsn_csm_hov plot. Any suggestions? Did I miss anything?</div><div><br></div><div>Best regards,</div><div>Giorgio<br></div><div> <br></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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>
</blockquote></div>