Image plot transparency map
I have an image plot where I'd like to use a single color map, but I want the transparency to depend on the X/Y pixel position. Right now, I can add varying transparencies to any color by making a custom ColorTab, but here the transparency depends on the z value in the image, not the x/y position. I basically want to use a pre-made color table, but be able to apply an arbitrary alpha map to the image. Is this possible? For full context, I'm looking at changes in fluorescence in a neuron, and I want areas of the neuron with strong signals to be opaque, and weaker signals to be less opaque, with zero signal being fully transparent. Thanks for any insight.
Thu, 04/26/2018 - 05:58 pm