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

From |
Friedrich Huebler <fhuebler@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: AW: Gap between lines in dot plot |

Date |
Mon, 2 Nov 2009 14:34:56 -0500 |

Thank you, Martin. Your sequence of commands is a substitute for the linegap() option. . sysuse auto . graph dot mpg turn, over(rep78) linegap(25) I am interested in the gap() suboption for use with over(). The help file describes this option as follows: "gap(#) and gap(*#) specify the gap between the lines in this over() group. gap(#) is specified in percentage-of-bar-width units. Just remember that gap(50) is a considerable, but not excessive width. gap(*#) allows modifying the default gap. gap(*1.2) would increase the gap by 20%, and gap(*.8) would decrease the gap by 20%." In the example from my initial post, the gap() option has no effect on the appearance of the graph. . sysuse auto . graph dot mpg turn, over(rep78) name(dot1) . graph dot mpg turn, over(rep78, gap(*.5)) name(dot2) Friedrich On Mon, Nov 2, 2009 at 12:19 PM, Martin Weiss <martin.weiss1@gmx.de> wrote: > > <> > > > > ************* > sysuse auto, clear > graph dot mpg turn, over(rep78) name(dot1, replace) > gr_edit plotregion1.GraphEdit, cmd(_set_graphstyle_remake gap neg75pct) > ************* > > > > HTH > Martin > > > -----Ursprüngliche Nachricht----- > Von: owner-statalist@hsphsun2.harvard.edu > [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Friedrich > Huebler > Gesendet: Montag, 2. November 2009 18:05 > An: statalist@hsphsun2.harvard.edu > Betreff: st: Gap between lines in dot plot > > How can the lines in a dot plot with over() be moved closer together? > The gap() option has no effect. > > . sysuse auto > . graph dot mpg turn, over(rep78) name(dot1) > . graph dot mpg turn, over(rep78, gap(*.5)) name(dot2) > > I expected the lines in the second graph to be closer together but > both graphs look the same. > > Friedrich * * 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**:**AW: st: AW: Gap between lines in dot plot***From:*"Martin Weiss" <martin.weiss1@gmx.de>

**References**:**st: Gap between lines in dot plot***From:*Friedrich Huebler <fhuebler@gmail.com>

- Prev by Date:
**st: loop question** - Next by Date:
**Re: st: Estout and Stata 11** - Previous by thread:
**st: AW: Gap between lines in dot plot** - Next by thread:
**AW: st: AW: Gap between lines in dot plot** - Index(es):

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