calculate consolidation coefficient and show it in plot