That works well.
However, I'm wondering if there are any options that I can use to make a really sharp (ie clear) image in powerpoint?
Are you telling me that activex produces the sharpest image?
Besides changing the DEVICE= option, you might also want to allow the style template to control the size of the fonts by removing the explicit h=3 that you have several places in your code. You could experiment with different STYLE= options, like STYLE=ANALYSIS or STYLE=STATISTICAL or STYLE=JOURNAL to see whether the default fonts/sizes used in those style templates was more to your liking.
You are not creating an image with activex device but a native com object. Scaling within ppt won't have any impact on resolution of the graph. One thing someone pointed out to me was that you won't get title as part of the graph when you copy and past it in ppt.
Note that one issue to consider if/when using device=activex output in your ppt is that the computer you're displaying/viewing the ppt on will need to have the SAS/Graph Activex Control installed, in order to render & view the graph (ie, to display it in your powerpoint presentation).
You probably have it installed on your PC, but just didn't want this to catch you by surprise if you might be eventually showing the ppt on a different computer sometime!
For you to activate and work with the activex control on a powerpoint, you must have the control installed as Robert said. However, if you design your powerpoint on your machine with the control and want to take it somewhere else to view it, you can do this without having to install the control on the other machine because the last displayed image of the control is persisted with your saved powerpoint.
OK. Thanks for the info. This is a good idea.
Another idea that I have been looking into is using ods rtf. This appears to provide good image quality and the ability to ungroup the plot so that titles can be changed in powerpoint. Are there any downsides to this?
When you use ODS RTF the image is embedded in the RTF file as an RTF image. When Word opens the RTF file, the image is rendered in the Word processor. As far as I know, you cannot directly open an RTF file with PowerPoint -- but must first open the RTF file with Word and then cut and paste from Word into PowerPoint.
It's been quite some time since I've made powerpoint ready graphs. When I did, I used the cgm driver to create a file and then imported that into PP. That was the best method then. I note that it is still referenced in http://support.sas.com/techsup/technote/ts674/ts674.html. Regardless of the method you choose, the document is worth reading.