add a compare module to plot more comparison resutls
some revision on the function to plot comparison result.
the figure instance is pass to the plotting function