Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

This example demonstrates several ways to specify markers 
in a scatter plot...

-----

#1

Use the old SAS/Graph marker shapes (such as diamond, square, triangle,
dot, circle, point, etc).

These plot symbols will work in just about any new or old version of SAS,
and they will work on any platform (Windows, Unix, Mainframe).

The disadvantage is that the selection is fairly limited, and 
the edges are not smooth/anti-aliased.

-----

#2

Use the new SAS/Graph *filled* marker shapes (such as diamondfilled,
squarefilled, and trianglefilled).

These are new in SAS 9.3, and therefore will not work in older versions
of SAS. Tehy will work on any platform (Windows, Unix, Mainframe).

-----

#3

Use font characters from any of the fonts that are shipped with SAS
(such as 'albany amt' and 'symbol mt').  These were phased-in during 
the SAS 9.2/9.3 timeframe.

Since they are shipped with SAS, they will work on any platform
(Windows, Unix, Mainframe).  And since these are truetype font
characters, they will be drawn smooth-edged (anti-aliased).

-----

#4

Use font characters native to your Operating System (support wa
phased in at SAS 9.2/9.3).

The advantage is that you have access to hundreds of font characters.
The disadvantage is that if you write your code on a Windows system
(for example), and then later try to run the code on a Unix system,
the font will probably not be available on the Unix system.

-----

Back to Samples Index