I just upgraded to 9.3 and am finally getting around to learning ODS (Statistical) Graphics. For years now, I've been using ODS and routinely use escape characters in formats to get special characters into tables and text in HTML and PDF destinations. Now, however, when I try to add an ODS Statistical graph to my output, the special characters don't appear in the formats. Rather, the escape sequence displays. In the sample program below (9.3, Windows 7 32-bit, ODS Graphics on by default), the special characters (greater than or equal to, less than or equal to), which are encoded into formats, appear correctly in the table but not in the axis value labels of the mosaic plot. I tried it with both unicode characters and a font change, but neither works. I suspect I'm missing something obvious, and thanks in advance. data one; input a b c; datalines; 1 1 36 1 2 38 1 3 65 1 4 151 2 1 70 2 2 36 2 3 62 2 4 89 3 1 140 3 2 40 3 3 45 3 4 70 ;;;; run; proc format; value af 1 = '< 6.0' 2 = '6.0 - 7.9' 3 = '(*ESC*){style [fontfamily=Symbol fontweight=bold]³} 8.0' ; value bf 1 = '(*ESC*){style [fontfamily=Symbol fontweight=bold]£} 2 months' 2 = '3 - 12 months' 3 = '13 - 36 months' 4 = '> 36 months' ; value a2f 1 = '< 6.0' 2 = '6.0 - 7.9' 3 = '(*ESC*){unicode ''2265''x} 8.0' ; value b2f 1 = '(*ESC*){unicode ''2264''x} 2 months' 2 = '3 - 12 months' 3 = '13 - 36 months' 4 = '> 36 months' ; quit; proc freq; table a * b / plots = mosaicplot; weight c; format a a2f. b b2f.; run;
... View more