Plotting border around line

Hello,

please would anybody know how to plot a border around a line? In particular,
I’d need this border just from one side of a contour I made in my TGraph2D.
An example created in PAW is attached.

Thank you very much!

Marek
cmsHiggs.eps.gz (16.7 KB)

In attachement, see 2 examples

Rene
shade.C (1.35 KB)

I forgot the main attachement

Rene
shadeGraph.C (630 Bytes)

Thank you very much, Rene, for the two nice examples.

I’ll need to transform the contours from my TGraph2D to be used in TGraph
as in your example. Is there a way in root to do it fast, please?

Thanks

Marek

I am afraid that you have to loop on the individual contours using teh technique shown in my examples.
One could possibly add an option to TGraph to draw with an outline.

Rene