[ncl-talk] Duplicate a plot
Adam Phillips
asphilli at ucar.edu
Thu Oct 5 09:57:35 MDT 2017
Hi Carl,
In short: No, you will have to create the same plot (=plot1) twice. Once a
plot has been overlaid once you can not overlay it again.
Adam
On Wed, Oct 4, 2017 at 9:50 AM, Carl Schreck <cjschrec at ncsu.edu> wrote:
> 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 <(828)%20257-3140>
> c: +1 828 484 1702 <(828)%20484-1702>
> Publications
> <http://scholar.google.com/citations?hl=en&user=th8ONEcAAAAJ&view_op=list_works&sortby=pubdate>
> ncics.org/mjo
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
--
Adam Phillips
Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171005/5cbafdf1/attachment.html>
More information about the ncl-talk
mailing list