remove deprecated plotting functions
add a few plotting tests and move some static methods to plotutil functions