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]

From |
"Airey, David C" <david.airey@Vanderbilt.Edu> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
Re: st: bar graph axis color- frustrated |

Date |
Thu, 10 Jun 2010 22:34:00 -0500 |

. Oh, Kieren got it: graph hbar weight price , yvaroptions(axis(lc(none))) The help is in "help graph_bar##yvar_options" So it's a real option. Still, I would like to know if and how to use graph editor commands directly if possible. -Dave > sysuse auto > > graph hbar weight price, nodraw saving(Graph, replace) > > graph hbar weight price, nodraw play(axis_none) saving(Graph, replace) > > The second command does indeed draw the command on the screen. My recording removes the axis successfully, but at the expense of drawing it to the screen. Why should the graph recording require the graph be drawn? > > The graph editor command that seems to be issued is: > > "varaxis.style.editstyle linestyle(color(none)) editcopy" > > if I open the .gph file with a text editor. > > -Dave > > >> But there has to be an underlying graph command that the graph editor is issuing but is not documented under graph bar. I think I remember seeing others use graph editor commands directly (at the command line) before on this list. You just need to find out what graph editor command is being issued when you make the axis color none using the graph editor and then issue that command in your .do file. > > -Dave > >>> Thank you Michael. That is exactly how I am doing them (using the record) feature. The problem is that I am doing 20 graphs on each of 700 sites and outputting them to a series of reports. To run the recorded routine, I have to display each graph. That is, I can not use the -nodraw- option!! >> > > * * 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/

**Follow-Ups**:**Re: st: bar graph axis color- frustrated***From:*Friedrich Huebler <fhuebler@gmail.com>

**RE: st: bar graph axis color- frustrated***From:*"Kieran McCaul" <Kieran.McCaul@uwa.edu.au>

- Prev by Date:
**Re: st: bar graph axis color- frustrated** - Next by Date:
**RE: st: bar graph axis color- frustrated** - Previous by thread:
**Re: st: bar graph axis color- frustrated** - Next by thread:
**RE: st: bar graph axis color- frustrated** - Index(es):