Date: Fri, 2 Dec 2011 15:09:36 -0500
Reply-To: Nat Wooding <nathani@VERIZON.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Nat Wooding <nathani@VERIZON.NET>
Subject: Re: ODS and Scalable Vector Graphics
In-Reply-To: <CAB7XJdOtYb7jNHhXPC4NV7G_OqxxSa+Qw6TEAK=ipZ59sVSDNA@mail.gmail.com>
Content-Type: text/plain; charset="US-ASCII"
Tom
I have no experience with SVGs but have you tried the SAS Graph ODS Graphics
Editor. I included it when I did a recent 9.2 install but so far I have not
even opened it. It appears as a separate icon on my desktop.
Nat Wooding
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of Thomas
Schmitt
Sent: Friday, December 02, 2011 12:46 PM
To: SAS-L@LISTSERV.UGA.EDU
Subject: ODS and Scalable Vector Graphics
Hi SASers,
I'm trying to produce SVGs in my ODS output. When I run the code below and
open the chart with Adobe Illustrator it shows that it is one image and I
can not select any parts of the image (except the whole). Is it possible to
get SVGs with SAS so I can select parts of the image? If it can be done I'd
appreciate any help on how to do it.
Thanks,
Tom
ODS GRAPHICS ON;
OPTIONS PRINTERPATH='SVG';
GOPTIONS DEV=SVG;
ODS PDF FILE="svg.pdf";
PROC SGPLOT DATA=lsmeans_dat;
SCATTER Y=Estimate X=trial / GROUP=group YERRORLOWER=Lower
YERRORUPPER=Upper;
SERIES Y=Estimate X=trial / GROUP=group;
RUN; QUIT;
ODS GRAPHICS OFF;
ODS PDF CLOSE;