BookmarkSubscribeRSS Feed
ahappel
Calcite | Level 5

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

1 REPLY 1
Bill
Quartz | Level 8

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;

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1338 views
  • 0 likes
  • 2 in conversation