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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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