script to make PVP grid plot