<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Dan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Good question.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It's an unadvertised feature that we should perhaps advertise.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">When calling gsn_coordinates, you can set:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">pres@gsnCoordsAttach = True</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">What this does is instead of drawing the coordinates right at that call, it attaches them to the input plot, much in the same way that the gsn_add_polyxxx functions work. You then have to draw the plot to see the attached lines or markers. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">By setting gsnCoordsAttach, you can attach as many sets of coordinates to the same plot as you want. I've included a non-sensical example, but it's one you should be able to run as-is. It draws the same grid three times, two times using markers and the third time using lines. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've been meaning to create an examples page explicitly for using gsn_coordinates, and even have the scripts ready to go, but I haven't finished it.</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 class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 13, 2017 at 11:43 AM, Daniel Rosen - NOAA Affiliate <span dir="ltr"><<a href="mailto:daniel.rosen@noaa.gov" target="_blank">daniel.rosen@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:12.8px"><span style="font-size:12.8px">Is there a way to attach multiple data coordinate sets with different colors on the same plot?</span><div style="font-size:12.8px">Or to create two plots with different attached data coordinates and then combine them to one?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I've tried to use gsn_coordinates on the same plot and that didn't work</div><div style="font-size:12.8px">and</div><div style="font-size:12.8px">I've tried to create two separate plots with attached data coordinates and then use gsn_add_annotation</div><div style="font-size:12.8px"><div><br></div><div>When I try to do this the script just hangs after creating a graphic of the first plot.</div><div><br></div><div>NCAR Command Language Version 6.3.0<br></div><div><br></div><div>Thank you.</div><div>Dan Rosen</div></div></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_-100284274639583415gmail_signature"><div dir="ltr">Dan Rosen<div><div>NESII/CIRES/NOAA </div><div>Email: <a href="mailto:daniel.rosen@noaa.gov" target="_blank">daniel.rosen@noaa.gov</a></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>