Is there a way to create palettes or color schemes where you can include a gradient alpha component? Specifically looking for something like the jet color scheme "BbcyrR" in a density plot where the blue side fades off to 0 alpha, and 'c' to 'R' has an alpha of say 0.7. This is to overlay the density plot with reference a photo in the background.
-- All the best, Alexey Balakin
Uff, it is not so easy -- you need to create yours own array of type
mglColorID and replace the standard array by new one in mglColorIds
(defined in mgl/mgl.h).