Statalist


[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 <Antoine.Terracol@univ-paris1.fr>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: [Graphics] how to set the length of an axis?
Date   Tue, 24 Mar 2009 09:09:39 +0100

Ulrich,

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?

Antoine



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:
*   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   |   What's new   |   Site index