fixed a small bug in makeComparisonPlots.cpp