update plotting macro
Merge pull request #13 from linacre/master

update plotting macro