Setting graph in type 6 question