Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: graph bar, x-axis and dates
From
Maarten buis <[email protected]>
To
[email protected]
Subject
Re: st: graph bar, x-axis and dates
Date
Thu, 21 Apr 2011 17:22:49 +0100 (BST)
--- On Thu, 21/4/11, Ben Ammar wrote:
> I've got a panel dataset, where I want show the
> developement of two different groups in the course of time
> which worked fine by the following command:
>
> graph bar (count) special general, over (date) stack
> percentage
>
> Unfortunately, since there are more than 30 years of
> monthly data, the x-axis is filled with dates that it can't
> be read anymore. Is there a way that the graph shows only
> years, preferably in 5 year steps?
I would reformulate that as a -twoway bar- or -twoway rbar-
command.
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/