Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: A -graph twoway bar- equivalent of the -bargap- option?

From   Hiroshi Maeda <>
To   Statalist <>
Subject   st: A -graph twoway bar- equivalent of the -bargap- option?
Date   Wed, 08 Mar 2006 19:47:33 -0600

Hi Statalisters,

I've been experimenting with and comparing -graph bar- and -graph twoway bar- commands for some time. I've noticed that -graph bar- has a -bargap- option, whereby one can control a gap between bars defined by multiple y-variables. I find the ability of -bargap- to make adjacent bars overwrap each other (e.g. -bargap(-50)-) very attractive. Although I find the -graph twoway bar- more flexible, I haven't found its equivalent of -bargap- in the Graphics manual.

Here is my question:
Is there any way to implement the -bargap- option available in the -graph bar- command in the -graph twoway bar- command?

Thank you in advance. ---Hiroshi

Hiroshi Maeda
University of Illinois at Chicago

* For searches and help try:

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