BookmarkSubscribeRSS Feed
Juen
Fluorite | Level 6

I am trying to change the color and thickness of axis from proc sgplot. It seems there is no such an option. I used the following code, but it doesn't work.  Is there a way do this?

proc sgplot data=resByDay noautolegend;

histogram residuals/nbins=8 scale = count ;

xaxis label="Residualss"  lineattrs= (color=red thickness= 2);

run;

Thanks

Juen

2 REPLIES 2
ballardw
Super User

Which version of SAS are you running? There are many options for graphics that only apply to the latter versions.

Juen
Fluorite | Level 6

I am using SAS/STAT 9.3_M1, SAS/ETS 9.3_M1, SAS/OR 9.3_M1

I noticed that on Apr 11, 2015 1:29 PM  brooksj029  has asked the same question. But have not got an answer yet.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 2278 views
  • 0 likes
  • 2 in conversation