plot directly to png device
implemented plot4