I would like to draw a rectangular or a more general shaped error band
on top of my data. Let’s say in light grey.
In order to still see my date points this band must be transparent. Unfortunately
TPave p = TPave(0,0,1,1);
p.SetFillStyle(4000);
is not working as promised (to be sure I tried also 4100 without success.
What’s wrong? And how can I realize a more general shape.
the patterns do work somehow, but not too well as there are not really transparent.
0 : hollow
1001 : Solid
2001 : hatch style
3000+pattern_number (see below)
4000 :the window is transparent.
4000 to 4100 the window is 100% transparent to 100% opaque
This transparency mode (4000 for fill style) works for Pad only. Moreover it is implemented for output on screen only. Try the following macro and save it in a PS file, you will see that the transparency is gone. So I think you should follow Rene’s advice.