<p dir="ltr">Did you try simply by copying the oldest rresources over the new ones? Like tres2=tres and then replacing the other resources the you don't want to be the same. In this way the contour resources should be copied to the second plot. </p>
<p dir="ltr">Cheers </p>
<div class="gmail_quote">Il 06 gen 2016 1:53 PM, "Ioana Colfescu" <<a href="mailto:ioana.colfescu@ed.ac.uk">ioana.colfescu@ed.ac.uk</a>> ha scritto:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'd like to use exactly the same colors as in a first plot in a second one.<br>
<br>
I set the colors for plot 1 manually :<br>
<br>
tres@cnFillPalette = "BlWhRe"<br>
tres@cnLevelSelectionMode = "ManualLevels"<br>
tres@cnMinLevelValF = -0.03<br>
tres@cnMaxLevelValF = 0.03<br>
tres@cnLevelSpacingF = 0.005<br>
<br>
Does anyone know how can I get the exact colors ( name/index) used so<br>
that I can pass them on to the second one ? getvalue doesn't work and I<br>
get an error that says the cn levels are not defined.<br>
<br>
Thanks,<br>
Ioana<br>
<br>
--<br>
The University of Edinburgh is a charitable body, registered in<br>
Scotland, with registration number SC005336.<br>
<br>
_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>