s-news
[Top] [All Lists]

Re: Printing graphs to PDF Files

To: "Data Analytics Corp." <dataanalytics@earthlink.net>, <s-news@lists.biostat.wustl.edu>
Subject: Re: Printing graphs to PDF Files
From: "Michael Camilleri" <MichaelCamilleri@branz.co.nz>
Date: Thu, 22 May 2008 10:06:55 +1200
In-reply-to: <48315C7D.9060806@earthlink.net>
References: <48315C7D.9060806@earthlink.net>
Thread-index: Aci7jvr61QLoPcUaSFGkh+G1aWWQgQ==
Thread-topic: Printing graphs to PDF Files
Hi Walt,

Why do you need PDF? Would another format be suitable?

PDF is an image format, so stores pixel images rather than drawing
objects. If you used a vector format like WMF then the circles would be
smooth and would rescale to any size.

You can export graphs automatically using the export.graph function to a
large variety of formats. WMF is widely compatible. It is easy enough to
compile them into a word or excel document or similar.

You can also use the PowerPoint Presentation wizard to export a whole
bunch of graphs to a powerpoint presentation. You can specify the list
of graphs and graphsheets to export in a file with this kind of format:

[GraphList]
GraphSheet0=S:\Projects\p10.sgr : FamilyTemp
GraphSheet1=S:\Projects\p10.sgr : BedTemp
GraphSheet2=S:\Projects\p10.sgr : TotalElec
GraphSheet3=S:\Projects\p10.sgr : TotalEnergy
GraphSheet4=S:\Projects\ p01.sgr : FamilyTemp

This wizard exports them as S+ graphsheet objects in a powerpoint
presentation, so they are proper vector graphics objects. They should be
viewable by anyone. I'm not sure if you need S+ on the system to view
them or not.

Good luck!
        
MICHAEL CAMILLERI BSc, MSc, PhD 
BUILDING PHYSICIST      
T +64 4 237 1170
DDI +64 4 237 1174
PRIVATE BAG 50908       
PORIRUA CITY 5240       
WWW.BRANZ.CO.NZ 

<Prev in Thread] Current Thread [Next in Thread>