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 'Star maps using Blender'
Blender just recently dropped a new version, 4.5(with 5.0 on the horizon), and within it was a new feature for which I immediately thought of a use for. The new feature was a .csv importer for Geometry nodes. Geometry nodes are a method of modelling that uses a node tree to create 3D models which offers more flexibility than straight modeling does. The .csv importer node allows you to bring in a .csv file and use the data in it to control aspects of your model. So for example, if you...
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...
Back
Top