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

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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