This solution is indeed much better than PROC GCONTOUR that requires the specification of patterns. Thanks.