After working on code optimization, i was able to significantly speed up the expansion of the graph:
In addition, a new display mode has been developed, a sort of histogram:
Finally, the code has been structured so that you can decide which display mode and graphics use based on the value of a...