working on matlab plotting script