BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Thalitacosta
Obsidian | Level 7

I made the following graph, but I want to do it in line format. What code to use?

 

proc sgplot data=nv pctlevel=group;

vbar month/ stat=pct seglabel;

run;

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

series statement instead of vbar statement.

Koen

View solution in original post

2 REPLIES 2
sbxkoenk
SAS Super FREQ

series statement instead of vbar statement.

Koen

sbxkoenk
SAS Super FREQ

SGPLOT -- SERIES statement doc:
https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/grstatproc/n1jkqnmk6y6ms9n1b2vvubyzqd4a.ht...

 

Next time better to post in 

Programming > Graphics Programming

board.

 

SGPLOT is more of a graphics procedure than it is a statistical procedure!

But the prefix "SG" is for Statistical Graphics indeed 😉.

 

Koen

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 443 views
  • 1 like
  • 2 in conversation