user319487
user319487

Reputation:

In Stata, how can I change color of the coefplot's gridlines?

I'm trying to change the color of gridlines in a Stata's graph. The usual method works fine in builtin graphs

sysuse auto
hist mpg, ylabel(, grid glcolor(green))

However, it fails when I try to do the same with coefplot graph where the grid has default blueish color:

reg price mpg headroom trunk length turn
coefplot, drop(_cons) xline(0) ylabel(, grid glcolor(green)) 

Any ideas how to change that?

Upvotes: 0

Views: 4273

Answers (1)

timat
timat

Reputation: 1500

reg price mpg headroom trunk length turn
coefplot, drop(_cons) xline(0) grid( glcolor(green)) 

ps: I only read the help of the command coefplot, where it is clearly explained; in general the command help provides many answers.

Upvotes: 3

Related Questions