BookmarkSubscribeRSS Feed
Jsendzik
Fluorite | Level 6

Hey, I'm using the ODS and the Msoffice2k_x tagset to generate an excel report but I'm getting a lot of additional information when I try to output a plot. I only want the plot and not the additional lines of text information and data that the procedure is generating. Is it possible to turn all of that off?

ods.jpg ,

ods tagsets.msoffice2k_x  file="...."

options(panelcols="2") style=normal;

PROC GPLOT DATA=only_13_months NOCACHE ;

PLOT NetDueAmount_Sum_Sum * Month_Year  / VAXIS=AXIS1 HAXIS=AXIS2 FRAME ;

BY ContractNo;

where ContractNo = 'H8991';

RUN;

PROC GPLOT DATA=only_13_months NOCACHE ;

PLOT NetDueAmount_N_Sum * Month_Year  / VAXIS=AXIS1 HAXIS=AXIS2 FRAME;

BY ContractNo;

where ContractNo = 'H8991';

RUN;

ods tagsets.msoffice2k_x close;

1 REPLY 1
Tim_SAS
Barite | Level 11

Check out the ODS SELECT and ODS TRACE statements. Use ODS TRACE to see the names of all the objects that PROC GPLOT creates, then use ODS SELECT to select just the plot..

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 782 views
  • 0 likes
  • 2 in conversation