[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Transparent graph

From   "Joseph Coveney" <>
To   "Statalist" <>
Subject   Re: st: Transparent graph
Date   Wed, 1 Oct 2008 01:06:06 +0900

Sergiy Radyakin wrote:

I am writing a graphing procedure (directly with Stata's undocumented
gdi commands). There is a pseudo-transparency effect as can be seen

sysuse auto, clear
generate ww = weight * 2.85
twoway area price ww l, sort fi(100 100)
twoway area price ww l, sort fi(30 30)

Is it possible to achieve "true-transparency" (where the first "blue"
graph could be seen through the second "pink")?

In technical terms: does gdi shadelevel set color or the method of
drawing (SET,OR,AND,XOR)? I.e. is it equivalent to
gdi shadergb = `i' * `R'    `i' * `G'    `i' * `B'


Adrian Mander has written something that might help you get closer to what
you're looking for.  He mentions it in this post:

Joseph Coveney

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index