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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—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
  • 917 views
  • 1 like
  • 2 in conversation