some improvements to plotting