Transparent TF2

From: Alexander Wagner <a.wagner_at_physik.uni-wuerzburg.de>
Date: Tue, 17 May 2005 17:40:17 +0200


Hi!

Today I experienced a problem making TF2 contour plots transparent. First of all I did not find a way to set the FillStyle for the TF2 to 4000.

So I searched quite a bit in roottalk's archive and found a solution using a transparent overlay. (See included source.)

My first question is: is there a better way to get a transparent diagram background?

Then I generated a pdf which should be included in a beamer.sty-style LaTeX-presentation. Unfortunately pdflatex is complaining about an invalid pdf-file :( (Dictionary and Fonts.) I'm not sure wether this is a problem of root or of pdflatex.

Then I tried to generate other file formats, but eps is not transparent :( And if I convert the transparent pdf to eps for inclusing in my pdflatex-document the diagram get's an opaque background again.

Any solution to this problem?

Root is Version 4.00/08 (PRO). As I read on roottalk pdf-code wasn't touched since quite a while so I don't suspect a fix in later root-versions.

Attached is my "workarround-code" based on some sample posted here on roottalk.

-- 

Kind regards,                /                 War is Peace.
                            |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
----------------------------|
Theoretische Physik II      | Theory     : G. Orwell, "1984"
Universitaet Wuerzburg     /  In practice:   USA, since 2001

Received on Tue May 17 2005 - 17:40:24 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:08 MET