Generate the third contour plot. The HAXIS=AXIS1 option assigns an axis definition to the horizontal axis. The JOIN= option combines adjacent grid cells with the same pattern to form a single pattern area. LEGEND=LEGEND1 assigns the legend definition. The PATTERN option specifies the fill pattern and colors for the contour levels. VAXIS=AXIS2 assigns an axis definition to the vertical axis.


proc gcontour data=swirl;
    plot y*x=z / 
        haxis=axis1
       join
       legend=legend1
       pattern
       vaxis=axis2;
   run;
quit;