adding dv invert option for plotting