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

From |
Jacob Wegelin <jacob.wegelin@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: graph hbox Y, by(something noiyaxes) over(grp2) over(grp1) |

Date |
Sun, 3 May 2009 10:56:31 -0400 |

Dear Scott: Thank you for this solution. But does the graph editor generate text commands that I can retrieve and put into a do-file, the same way that Stata's point-and-click interface generates text commands? How did you discover the - gr_edit - commands that you provide below? - help gr_edit - produces nothing in Stata 10.1 for Macintosh. Jake On Sat, Apr 18, 2009 at 4:10 PM, Scott Merryman <scott.merryman@gmail.com> wrote: > On Fri, Apr 17, 2009 at 6:52 PM, Jacob Wegelin <jacob.wegelin@gmail.com> wrote: >> The artificial example below creates a "by" plot (two plots, in a row) >> with a superfluous row of labels for the levels of -foreign- and of >> -headroom- between the left and right graphs. I'd like to eliminate >> the second set of labels, that is, those for the plot on the right, >> and smash the two plots together with very little space between them. >> In particular, the labels "Domestic" and "Foreign" should appear only >> once on the entire "by" plot. >> > > clear all > sysuse auto > set scheme lean1 > egen PriceCat=cut(price), at(3000 6000 16000) > graph hbox turn, by(PriceCat, noiylabel noiyaxes rows(1)) > over(headroom) over(foreign) name(gr1,replace) > > //use the graph editor or by command line: > gr_edit plotregion1.supaxis[2].draw_view.setstyle, style(no) > gr_edit plotregion1.grpaxis[2].draw_view.setstyle, style(no) > > > Scott > * > * 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/

**Follow-Ups**:**Re: st: graph hbox Y, by(something noiyaxes) over(grp2) over(grp1)***From:*Scott Merryman <scott.merryman@gmail.com>

**Re: st: graph hbox Y, by(something noiyaxes) over(grp2) over(grp1)***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**st: Re: turning numbers into dates** - Next by Date:
**Re: st: Re: Difficulty with posting and replying** - Previous by thread:
**st: turning numbers into dates** - Next by thread:
**Re: st: graph hbox Y, by(something noiyaxes) over(grp2) over(grp1)** - Index(es):

© Copyright 1996–2014 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |