Hey guys…
I am currently working on visualizing some data for a project. I have been able to create basic histograms and graphs but I am running into a bit of trouble when it comes to customizing my plots. Specifically… I had like to:
- Set specific axis limits (for example, x-axis ranging from 0 to 100 and y-axis from 0 to 50).
- Modify the labels for both axes to include custom text (e.g., instead of just “X” and “Y”, I want something like “Energy (MeV)” for the x-axis and “Events” for the y-axis).
- Adjust the font size and style of these labels to make the plot look more polished for presentation purposes.
I have not found any I have looked through some of the documentation, but I am finding it a bit overwhelming, especially since I am still getting familiar with the basic syntax and structure of ROOT. Could anyone point me in the right direction for achieving these customizations? A short code snippet or an example would be incredibly helpful.
I am using ROOT 6.28 on Ubuntu 22.04, if that makes any difference.
Thanks in advance!
Respected community member!