Type : CREATION_INTERNE
Data is entirely generated in the DATA step via the RAND function.
| 1 | /* Generate some random data with group variable*/ |
| 2 | DATA random_norm; |
| 3 | CALL streaminit(585); |
| 4 | DO x = 1 to 100; |
| 5 | y = rand("Normal"); |
| 6 | OUTPUT; |
| 7 | END; |
| 8 | RUN; |
| 1 | /* Modify points of scatterplot with MARKERATTRS= */ |
| 2 | PROC SGPLOT DATA = random_norm; |
| 3 | SCATTER X=x Y=y / MARKERATTRS = (SYMBOL = STAR SIZE = 4MM); |
| 4 | TITLE "MARKERATTRS options"; |
| 5 | RUN; |