Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: graph bar, x-axis and dates


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index