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;

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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