There is a third method for specifying data attributes: The DATTRMAP= option on the PROC SGPLOT statement. For an overview and example, see the article "Specify the colors of groups in SAS statistical graphics."