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: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
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
  • 540 views
  • 1 like
  • 2 in conversation