Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Erik Holmberg <erik.c.holmberg@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: Graph xlabel with two or more rows |
Date | Mon, 24 May 2010 17:45:42 +0200 |
I have a question about how to get text with two rows for the x-axis label. If I use xlabel(1 "Low" 2 "Med" 3 "Hi") I change the labels to these labels but if I for each label want two rows of text, how to do. If I use the Graph Editor I can get two rows if I edit individual labels and choose: 1 "Low" "Risk" 2 "Med" "Risk" 3 "Hi" "Risk" But I would prefer to have it in the graph command instead of using the Graph Editor. Erik Holmberg * * 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/