- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Dear Community,
I just dont know how to change the color in my sgplot nothing works.
Can anybody help?
thanks in advance!
proc sgplot data=datensatz_1416_Erstanzeige;
yaxis label="Number of studies" max=200;
vbar year /
barwidth=0.5
/markerattrs=(color=CX16A629) ;
title 'Number of studies per year';
run;
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello @marysmith,
Try this:
vbar year / barwidth=0.5 fillattrs=(color=CX16A629);
(You use VBAR, but the subject line says VBOX.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello @marysmith,
Try this:
vbar year / barwidth=0.5 fillattrs=(color=CX16A629);
(You use VBAR, but the subject line says VBOX.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I nothing works, then no-body will be able to help you. Perhaps start by stating what software, Enterprise Guide, Base, etc. What output destination you are outputting to. Show some test data so we have something to run against.
This post might help:
You can also browse here:
https://blogs.sas.com/content/graphicallyspeaking/
To find many examples of all kinds of graphs.