plotting script