global plot_on
global data_history