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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 807 views
  • 1 like
  • 2 in conversation