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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I had a Microsoft Technical interview this past Friday, the question I was asked was this : How do you find the middle value for a dataset that is too big to fit in RAM? I was not able to figure this out during the interview, but I have been look in this all weekend and I read something online that said it can be done at O(N) using something called the counting sort histogram algorithm ( I did not learn that in my advanced data structures and algorithms class). I have watched some youtube...
Back
Top