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]

st: graphs with dates question...


From   Asdsa Sdjfkn <asquriot@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: graphs with dates question...
Date   Thu, 15 Apr 2010 20:44:39 -0700 (PDT)

I want to make a graph with the command:

graph bar (mean) Var1, over (Quarter)

where Quarter is formatted as 
%tq. This produces a graph with the number corresponding to the quarter 
on the x-axis, rather than the actual quarter (e.g. '0' instead of 
'1960q1'). How can I get the quarter to show up rather than the 
corresponding number?

I'd also like only, say, one quarter a year to be labelled on the x-axis, otherwise there isn't enough room for all the text to fit. I've trawled through the documentation for this, but 
haven't found anything useful...

thanks!



      
*
*   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