Plotting real time value option on x axis, Plotting point outsourced to external function