BookmarkSubscribeRSS Feed
brophymj
Quartz | Level 8

Just a couple of questions regarding a graph I am trying to produce for regular reporting purposes...

The code works perfectly and I just now want to put the finishing touches on the slides to make them look more appealing.

Here is part of my code. The code exports graphs to pngs and then I import them into powerpoint (4 graphs per slide). The look ok but I want them to look better if possible.

  • Firstly what's the best way to maximize the clarity of the pictures? I don't mind of the output files are larger. Graphs in excel look clearer and I wanted to get as close as possible to them.
  • Secondly, can you change the color of the bar or line chart - I want to make it more striking.
  • How do you change the names of the axis so they don't include (sum)

Many thanks

  ods listing gpath="path...";

  ods pdf file="path.\graph.pdf" columns=2 style=meadow startpage=no;

  ods graphics on/width=4.5in height=3.75in;

  proc sgplot data=Egidwh_oneway4 ( where = (factor = "Age"));

     title "Age - LR";

     vbar level / response=exposure;

     vline level / response=LR y2axis;

  run;

  ods graphics off;

  ods pdf close;

1 REPLY 1
DanH_sas
SAS Super FREQ

What version of SAS are you using?

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!

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