graph for each sample