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

st: Transparent graph

From   "Sergiy Radyakin" <>
To   "" <>
Subject   st: Transparent graph
Date   Mon, 29 Sep 2008 13:28:49 -0400

Dear All,

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'

Thank you,
   Sergiy Radyakin
*   For searches and help try:

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