improved mi plotting