This will create a frequency table for the variables listed. The generate option will create a set of dummy variables that reflect all possible values of the variables involved. This will generate a correlation plot. Note that these commands are most useful when combined with the if , by or in options. This will generate a kernel density plot.
Several options allow choice of kernel and bandwidth.
This will generate a qq-plot against a normal distribution. This will generate a qq-plot of both variables. This will generate a scatterplot of the two variables listed. If you have a large dataset and want to execute a series of repetitive commands on several variables it is often useful to create a batch file with the necessary commands.