[pyngl-talk] contour labelbar color to polymarker
Fearon, Dr. Matthew, Contractor, Code 7533
matthew.fearon.ctr at nrlmry.navy.mil
Fri Jul 6 13:03:56 MDT 2018
Dear PyNGL users,
I have seen a couple examples around that are close but not exactly the following. Would be great to get some advice on this.
After a contour map is drawn with its labelbar, is there a way to then extract the rgb values for each bin segment and then assign a particular rgb to an individual polymarker? For example, the attached relative humidity map, for values 50 to 60 % take a greenish rgb. Is there a way to get this rgb and then assign it as a gsMarkerColor ?
Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20180706/42c4fd53/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: relhum_1_sig_5_00240000.png
Type: image/png
Size: 742978 bytes
Desc: relhum_1_sig_5_00240000.png
URL: <http://mailman.ucar.edu/pipermail/pyngl-talk/attachments/20180706/42c4fd53/attachment-0001.png>
More information about the pyngl-talk
mailing list