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

update plotting macro