Add a sample to plot curves.