split off actual plotting into another tool