<div dir="ltr"><div class="gmail_default" style="font-size:small">Alan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Sorry about the delay in response. I've been out of the office a lot.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">As far as I know, there is no way to make a copy of a plot without calling the function again.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">When you do something like this:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"> plot_a = plot</div><div class="gmail_default"> plot_b = plot</div><div><br></div><div>You are effectively pointing plot_a and plot_b to the same plot, so any changes to any one of these is changing all of them, because they are the same plot.</div><div><br></div><div>Dave Brown may know if we have an internal function that allows you to copy a plot object without having to generate it from scratch. </div><div><br></div><div>--Mary</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 3, 2014 at 12:17 PM, Alan Brammer <span dir="ltr"><<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</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">I came across an instance where I want to take a plot, duplicate it, change some settings in each of the new plot and draw both new plots. <div><br></div><div>However all changes to duplicated objects change all the other objects. I'm not sure of the proper terminology so made a simple example attached below</div><div><br></div><div>I make one plot, copy it, change the titles on the 2 new plots. Now all 3 plots have the same title as the last one changed. And if I try and panel the 3 plots, it gets confused as I guess they're all really just one plot with 3 different pointers. </div><div><br></div><div>Is there a way to duplicate the plot not just create a new pointer to it. (without just running the plot line again, which is my current work around.). </div><div><br></div><div><br></div><div><br></div><div>Thanks, </div><span class="HOEnZb"><font color="#888888"><div>Alan. </div></font></span></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>