update plotting script plot.py and plotting.sh to allow plotting different kind of graphs