some plotting improvements