Wednesday, October 12, 2011

Symbols in SAS Scatter Plot zz from ucla ats




There are many other symbols available from SAS.  To use these, you need to specify a specific font. SAS fonts that contain special symbols include:
  • CARTOG
  • SPECIAL
  • ELECTRON
  • MATH
  • WEATHER
  • MUSIC
  • MARKER
We can use SAS proc gfont to see the symbols and the corresponding character codes.  The character codes are the letters on the keyboard that are associated with a particular symbol.  In the example below, a left-pointing triangle is the symbol and the capital letter A is the character code.  The program below can be used to see what symbols that font called Marker has.
goptions reset = all ctext = blue htext = 6pct ftext = swissb ;
title "Special symbols with the Marker font";
proc gfont name = marker ctext = red showroman nobuild;
run;

No comments:

Post a Comment