normalize plot data