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-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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