demo_plot: fix curve initializations