[ncl-talk] get color names/values

Ioana Colfescu ioana.colfescu at ed.ac.uk
Wed Jan 6 07:53:20 MST 2016


Thanks Guido !

On 06/01/16 13:06, Guido Cioni wrote:
>
> 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.
>
> Cheers
>
> Il 06 gen 2016 1:53 PM, "Ioana Colfescu" <ioana.colfescu at ed.ac.uk 
> <mailto:ioana.colfescu at ed.ac.uk>> ha scritto:
>
>     Hi,
>
>     I'd like to use exactly the same colors as in a first plot in a
>     second one.
>
>     I set the colors for plot 1 manually :
>
>        tres at cnFillPalette         = "BlWhRe"
>        tres at cnLevelSelectionMode  = "ManualLevels"
>        tres at cnMinLevelValF       = -0.03
>        tres at cnMaxLevelValF       =  0.03
>        tres at cnLevelSpacingF      =  0.005
>
>     Does anyone know how can I get the exact colors ( name/index) used so
>     that I can pass them on to the second one ? getvalue doesn't work
>     and I
>     get an error that says the cn levels are not defined.
>
>     Thanks,
>     Ioana
>
>     --
>     The University of Edinburgh is a charitable body, registered in
>     Scotland, with registration number SC005336.
>
>     _______________________________________________
>     ncl-talk mailing list
>     ncl-talk at ucar.edu <mailto:ncl-talk at ucar.edu>
>     List instructions, subscriber options, unsubscribe:
>     http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160106/5bdb941f/attachment.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
Url: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160106/5bdb941f/attachment.pl 


More information about the ncl-talk mailing list