How Can I Create a ROOT TLegend Fill Box?

  • Topic:
  • Thread starter ChrisVer
  • Start date
  • Tags Tags
    Box Root
1 reply · 2K views · last reply
Science Advisor
Messages
3,372
Reaction score
465
Does someone know how I can make such a legend entry in ROOT?

Small grey horizontal bar with a slightly darker grey band along its middle, shown as a legend symbol sample.


I have tried all the draw options ("L","F","E") but I am unable to get this result.
It really looks like a mixture of LF, but LF draws me a rectangular box enclosed in black line.

extra info: I am using two graphs, one is for the error band and the other is for the line inbetween.
 
The ROOT Forum is the place to get answers to ROOT questions like this one.