SUPPORT / SAMPLES & SAS NOTES
 

Support

Sample 47789: Use the SAS/GRAPH® Annotate facility to create a symbol table containing all the special symbols that are available with a particular font

DetailsCodeOutputAboutRate It
To add a special symbol to SAS/GRAPH output, you first need to determine which hardware font offers the special symbol that you want. The next step is to determine which hexadecimal value in that hardware font will produce the desired special symbol.

The sample code on the Full Code tab uses the SAS/GRAPH Annotate facility to produce a table showing all of the special symbols that are available with the Symbol hardware font. The hexadecimal value for each symbol is displayed above each symbol in the table the code creates.

In the table for the Symbol hardware font, we can see that a value of "a3"x will display the "less than or equal to" symbol on a graph.

Note that the Output tab for this sample shows three different tables: one for the Symbol font, one for the Wingdings font, and one for the Arial font.


These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.