[pstricks] gradients combined?

Herbert Voss LaTeX at zedat.fu-berlin.de
Sun Nov 20 08:02:57 CET 2005


Pedro Jorge Caridade wrote:
> I think I have a impossible question for the list, but let's see. 
> 
> I have two circles that are filled with a concentric gradient (via
> pst-slpe) starting in the origin of them and going to zero. Both are in
> the same color, and can be seen as density probabilities. Now I will
> start to get them close until part of them overlap. I used clip to get
> the intersection of both. I would like now to paint this intersection.
> For that, and to give the effect of overlapping, can we calculate the
> clip gradient as the sum of the two gradients of the overlapped region
> of the circles? For solid colors, I saw something is Herbert's homepage,
> but for gradient ... Here are a small example. The clipping color is
> only for a small test

This is possible, but needs some modifications to the
code of package. Not easy ...

Herbert




More information about the PSTricks mailing list