EXAMPLE 11  Using Company Logos in Graphs

Purpose: Put a company logo at the top of a graph (as well as a few other tricks!).

I often get my inspiration for new graphs from real life. For example, when my electric utility company started printing a little bar chart on my monthly power bill, I thought that was a pretty useful thing. I decided to see if I could do the exact same graph with SAS/GRAPH. It wasn’t quite as easy as I first thought, and now I am even including it in my book of tricky examples.

In this example, we need 13 months of power consumption values. Here is the data we will work with:

data my_data;
format kwh comma5.0;
format date mmyy5.;
input date date9. kwh;
datalines;
15sep2002   800
15oct2002   550
15nov2002   200 ...

Get SAS/GRAPH: Beyond the Basics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.