put pi on x-axis of IF plot