Hello.
Can anyone tell me if it’s possible to change the bin width for DVHs in v5.6.2 of Slicer3D please?
Many thanks
There is no option for this on the GUI. However, you have the possibility to change it from Python using these functions:
The code you need to run in the Python console is
dvhLogic = slicer.modules.dosevolumehistogram.logic()
dvhLogic.SetStartValue(0.1)
dvhLogic.SetStepSize(0.2)
Obviously you need to changes these values. The above numbers are the defaults.
If you want this to be persistent every time you start Slicer, you can add this to the .slicerrc.py
file.
Thank you Csaba, that’s very helpful. I will give it a try.
Best wishes
Sarah