Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Alexander Brunner" <alexander.brunner@uni-wuerzburg.de> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: AW: AW: AW: xtline - How can I control add a note and a caption |
Date | Tue, 18 May 2010 13:44:55 +0200 |
Problem solved. The solution provided by Martin works. Thanks. Kind regards, Alexander -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Martin Weiss Gesendet: Dienstag, 18. Mai 2010 11:09 An: statalist@hsphsun2.harvard.edu Betreff: st: AW: AW: xtline - How can I control add a note and a caption <> If such solutions are not apparent from the help file - which in this case I do not think they are - you can always take a close look at the dialog box at -db xtline-, and more often than not, you would come up with the correct answer after repeated use of the "Submit" button... HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Martin Weiss Gesendet: Dienstag, 18. Mai 2010 11:04 An: statalist@hsphsun2.harvard.edu Betreff: st: AW: xtline - How can I control add a note and a caption <> ************* xtline calories, byopts(caption(this is a caption) note(this is a note)) ************* HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Alexander Brunner Gesendet: Dienstag, 18. Mai 2010 11:00 An: statalist@hsphsun2.harvard.edu Betreff: st: xtline - How can I control add a note and a caption Dear all, I am trying to modify a simple xtline graph, but unfortunately it does not work. Consider these simple commands: sysuse xtline1 xtset person day xtline calories I'd like to modify the graph in the following way: In the default setting the caption says "Graphs by person" and I want to replace that. I thought adding a caption or a note will do it. So I used the following command: xtline calories, note("this is a note") caption("this is a caption") But this adds a note and a caption under each separate plot. So how can I add a "general" note or caption for the whole graph? Thanks in advance! Alexander * * 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/ * * 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/ * * 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/ * * 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/