Separating result ploting function.