<div dir="ltr"><div>Hi Jason,</div><div><br></div><div>I'm not totally sure what's going on here, but it looks like you are creating 3 plots, each with other data and perhaps annotations overlaid on top?  You allocate the variable plot as an array of graphic of length 4, and use that in a call gsn_panel, but I. don't see where you ever assign anything to that array.  You are also calling gsn_panel before anything is written to the variable plot.  <br></div><div><br></div><div>There are the variables plt10, plt11, plt12 that appear to be "base" plots for overlays -- perhaps those variables should be something like plot(0), plot(1), plot(2).  I don't know what's intended for plot(3), but note that you use the variable plt11 twice, effectively overwriting one of your plots. Then you would want to replace the last lines draw(plot)/frame(wks) by the call to gsn_panel(), which do the actual drawing.</div><div><br></div><div>You might also check the docs on gsn_panel for some cautionary notes about using the resource gsnMaximize:</div><div><br></div><div>    <a href="http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_panel.shtml">http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_panel.shtml</a></div><div><br></div><div>I hope that helps...</div><div>Rick<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 7, 2021 at 11:53 AM Herb, Jason via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</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 dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hello All,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I have a scatter plot in which attempting to color code based on observation location (ie urban, suburban and rural). All my data is feeding properly but the issue is getting the data to plot. I have attempted to do overlays where needed for each plot. But
 seeming to have gsn_ panel issue and can figure it out.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
The error message being received is : <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
(0)     gsn_panel: Error: all of the plots passed to gsn_panel appear to be invalid</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I have attached the entire script, in addition to a condensed portion just involving the plotting aspect.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Thanks,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Jason<br>
</div>
</div>

_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>