[ncl-talk] Duplicate a plot

Carl Schreck cjschrec at ncsu.edu
Wed Oct 4 09:50:38 MDT 2017


I am making one plot that I want to overlay onto two other ones. When I
draw the other two, say:

plot1 = gsn_csm_xy(...
plot2 = gsn_csm_xy(...
plot3 = gsn_csm_xy(...

overlay(plot2,plot1)
overlay(plot3,plot1)

And this gives me an error:
fatal:NhlAddOverlay: tranform is already an annotation or overlay: 30

Is there a way to duplicate plot1 other than creating it from scratch
again? Just doing plot1b = plot1 and then overlaying plot1b doesn't fix it.

Thanks!
Carl

-- 


<https://ncics.org/>
* Cyclone <http://www.cyclonecenter.org/>*Center.org
<http://www.cyclonecenter.org/>   *Carl J. Schreck III, PhD*
*Research Scholar / Research **Assistant Professor*
Cooperative Institute for Climate and Satellites NC (CICS
<http://www.cicsnc.org/>*-NC) <http://www.cicsnc.org/> /*
Department of Marine, Earth, and Atmospheric Sciences (MEAS)
<https://meas.sciences.ncsu.edu/>
North Carolina State University <http://ncsu.edu/>
NOAA National Centers for Environmental Information (NCEI)
<http://ncei.noaa.gov/>
151 Patton Ave, Asheville, NC 28801
e: carl_schreck at ncsu.edu
o: +1 828 257 3140
c: +1 828 484 1702
Publications
<http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate>
ncics.org/mjo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171004/ed18a676/attachment.html>


More information about the ncl-talk mailing list