add analysis/src/compare.py to generate comparison graph
fix the plot in compare.py