How Can I Create a ROOT TLegend Fill Box?

  • Thread starter Thread starter ChrisVer
  • Start date Start date
  • Tags Tags
    Box Root
AI Thread Summary
To create a legend entry in ROOT that combines elements from different draw options, users have encountered challenges with the standard options like "L", "F", and "E". Specifically, a user is looking to replicate a legend entry that resembles a mixture of line and fill styles without the enclosing black box that comes with the "LF" option. The discussion emphasizes the need for a solution that allows for a more customized appearance in the legend, particularly when dealing with multiple graphs, such as one for error bands and another for lines. The ROOT Forum serves as a valuable resource for troubleshooting and obtaining guidance on these specific graphical issues.
ChrisVer
Science Advisor
Messages
3,372
Reaction score
465
Does someone know how I can make such a legend entry in ROOT?

entry.png


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.
 
Technology news on Phys.org
The ROOT Forum is the place to get answers to ROOT questions like this one.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Back
Top