Click here to see the SAS code.
Click here to see the example.
In this example, I use the hebrew sas/graph software font,
to produce the special hebrew characters in the title, legend
and the axis label. This allows me to use the english version
of sas to produce a sas/graph with hebrew characters.
I jump through a lot of hoops in this chart, to make it look
exactly like the one I was imitating -- you could do similar
charts much easier, by letting sas do things the way it wants
to by default, instead of trying to get this exact same look :)
I use a bar chart, and the values I want to be on the left side
of the line I make negative (and I use a user-defined format
to make these values show up in the axis as positive numbers).
I hardcode my hebrew characters in the titles, axis label,
and the legend values.
I hardcode the y-axis tickmark values to show the age ranges
of each bar.
And, I use the hbar's "html=" option to encode html title=
charttip/flyover-text, so you can see details about the bar
when you hover your mouse over them (if you're using the
Internet Explorer web browser). Each bar segment has it's
own charttip, corresponding to the specific age/race/sex group
that segment represents.
Back to Samples Index