Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: bar graph axis color- frustrated

From   Scott Merryman <>
Subject   Re: st: RE: bar graph axis color- frustrated
Date   Thu, 10 Jun 2010 20:47:55 -0500

Like this?

sysuse auto, clear
gen foo = 1
graph hbar   weight price ,over(foo, label(nolabel) axis(lcolor(white) ))


On Thu, Jun 10, 2010 at 6:17 PM, Ricardo Ovaldia <> wrote:
> Thank you Kieran, but note that in a horizontal graph, the y-axis is the x-axis of a vertical graph and -xscale(lc(red))- is not allowed.
> Here is a simplified version of my graph which is much more complex:
> sysuse auto, clear
> graph hbar   weight price, ysc(off)
> I want the axis on right side (the base of the bars) to be a color other than black (white or clear would work).

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index