plot_traces function

Plot sample traces