Fix plot data