Data visualization with SAS programming

Graphs editable in Powerpoint?

Reply
Occasional Contributor
Posts: 10

Graphs editable in Powerpoint?

There was a code similar to the following:

ods rtf file="C:\Documents and Settings\Austin\Desktop\Isotopes.rtf";

goptions hsize=5in vsize=4in;

ODS LISTING STYLE = biplots;

proc sgplot data=name;

scatter y=Nmean x=Cmean/ group=species

/*These are the column titles of the columes with the means in them*/

yERRORLOWER=Nlow yERRORUPPER=NHigh

xERRORLOWER=CLow xERRORUPPER=CHigh

/* These are the upper & lower limits calculated using another program*/

DATALABEL=site;

xaxis label="Carbon";

yaxis label="Nitrogen";

/*This works as a "by" statement, i.e. this case i need separate crosses for each site*/

run;

ods rtf close;

That apparently allowed someone to edit their graphs in powerpoint.  Now it doesn't work for me, and my guess is that it may be because this is a scatterplot and not a simple barchart or something. 

Any Ideas on making a graph that when pasted into PPT you can "ungroup" the photo and edit it?

R programming does this well, there must be some way to do it in SAS.

Thanks,

Austin

Super Contributor
Posts: 291

Re: Graphs editable in Powerpoint?

Suggest you try building an emf, insert into pp as a picture from file ...

filename gqb 'c:\temp\Plot.emf';

GOPTIONS reset=all DEV=emf targetdevice=emf gsfname=gqb;  

proc gplot data=test;

plot n*value/

       ;

run;

Post a Question
Discussion Stats
  • 1 reply
  • 250 views
  • 0 likes
  • 2 in conversation