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

Re: st: [Graphics] how to set the length of an axis?

From   Antoine Terracol <>
Subject   Re: st: [Graphics] how to set the length of an axis?
Date   Tue, 24 Mar 2009 09:09:39 +0100


I can confirm that the bars do not overlap using Stata 10.1 for Windows XP, but do overlap slightly using Windows 10.1 for Linux (Ubuntu 8.10, 64 bits).

The culprit is not -autocode- since -levelsof- spits out the same values in both cases. Bug or feature?


Ulrich Kohler wrote:

Question: Adjusting the bar-width with
. levelsof wageclass, local(K)
. local width  = (`:word 2 of `K'' - `:word 1 of `K'')
. twoway || rbar lower upper wageclass, barwidth(`width') horizontal does not work sufficiently for me. On my screen (Stata 10.1 for Linux), the bars overlap, (although I think they shouldn't). In my proposal I have therefore used

. local width  = (`:word 2 of `K'' - `:word 1 of `K'') * .95

to scale the bar width somewhat further down. Wasn't that necessary under Windows?

Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.

*   For searches and help try:

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