plotting in script