plot script