This version here adds the possibility to print one x-tick every n (which is far less trivial than it seems):
https://github.com/sylvainhalle/boolean-coverage-toolkit/blob/main/Source/src/mcdclab/plot/SpacedHistogram.java
Simply replace the current ClusteredHistogram with this one.