trying logarithmic scaling for opacity

This seems to look a smoother transition than before.

Changing `f` to be `f x = 1 - x` switches back to the previous linear scaling.

Haven't regenerated the legend pictures yet.