Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

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


From   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   Re: st: RE: bar graph axis color- frustrated
Date   Thu, 10 Jun 2010 19:36:47 -0700 (PDT)

Hi Scott,

It does not work because I am also using the -showyvar- option:

 graph hbar   weight price ,over(foo, showvar label(nolabel) axis(lcolor(white) ))


Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Thu, 6/10/10, Scott Merryman <[email protected]> wrote:

> From: Scott Merryman <[email protected]>
> Subject: Re: st: RE: bar graph axis color- frustrated
> To: [email protected]
> Date: Thursday, June 10, 2010, 8:47 PM
> Like this?
> 
> sysuse auto, clear
> gen foo = 1
> graph hbar   weight price ,over(foo,
> label(nolabel) axis(lcolor(white) ))
> 
> 
> Scott
> 
> 
> On Thu, Jun 10, 2010 at 6:17 PM, Ricardo Ovaldia <[email protected]>
> 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:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index