The plot request plots Y on the vertical axis, plots X on the horizontal axis, and specifies Z as the contour variable. CONTOUR=10 specifies that the plot will divide the values of Z into ten increments, and each increment will have a different plotting symbol.
proc plot data=contours;
plot y*x=z / contour=10;
    title 'A Contour Plot';
run;