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, statalist.org 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   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: bar graph axis color- frustrated
Date   Thu, 10 Jun 2010 16:17:13 -0700 (PDT)

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).


Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Thu, 6/10/10, Kieran McCaul <Kieran.McCaul@uwa.edu.au> wrote:

> From: Kieran McCaul <Kieran.McCaul@uwa.edu.au>
> Subject: st: RE: bar graph axis color- frustrated
> To: statalist@hsphsun2.harvard.edu
> Date: Thursday, June 10, 2010, 5:31 PM
> ....
> 
> It would help if you sent the code that you're using, but
> have you tried
> -x- which should change the colour to red.
> 
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]
> On Behalf Of Ricardo
> Ovaldia
> Sent: Friday, 11 June 2010 5:36 AM
> To: Statalist
> Subject: st: bar graph axis color- frustrated
> 
> I continue to struggle with trying to change the color of
> the y-axis of
> a horizontal bar graph. Although this seems like it should
> be a pretty
> basic thing to be able to do, I have not found a
> satisfactory solution.
> Note that I am not using the -over()- option.
> 
> Ricardo Ovaldia, MS
> Statistician 
> Oklahoma City, OK
> 
> 
>       
> *
> *   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/
> 


      

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index