draw the training data