several extensions to plotting