unify and enhance plot functions
issue