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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: bar graph axis color- frustrated


From   "Michael N. Mitchell" <Michael.Norman.Mitchell@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: bar graph axis color- frustrated
Date   Thu, 10 Jun 2010 21:30:11 -0700

Dear Friedrich

Thank you very much for noting that! Thanks to Kieren (sp?) we have the answer using the traditional graph commands, and using your tip on the -gr_edit- command, here is the solution using that...

. sysuse auto
. graph hbar   weight price, ysc(off)
. gr_edit .varaxis.style.editstyle linestyle(color(none)) editcopy

  So, Dave, there is the answer :)

Michael N. Mitchell
Data Management Using Stata      - http://www.stata.com/bookstore/dmus.html
A Visual Guide to Stata Graphics - http://www.stata.com/bookstore/vgsg.html
Stata tidbit of the week         - http://www.MichaelNormanMitchell.com



On 2010-06-10 9.04 PM, Friedrich Huebler wrote:
Graph Editor commands can be included in a do-file with -gr_edit-. For
an example, refer to this post from the list archive:

http://www.stata.com/statalist/archive/2009-04/msg00763.html

Friedrich

On Thu, Jun 10, 2010 at 11:34 PM, Airey, David C
<david.airey@vanderbilt.edu>  wrote:

[...] Still, I would like to know if and how to use graph editor commands directly if possible.
*
*   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