Bash script snippet (were written in the rush for experiment data visualization)