select option for student and redraw graph