Code to calculate box plot (new type of figures) for dynamical properties