Statalist


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

st: AW: sts graph without title


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: sts graph without title
Date   Mon, 18 May 2009 10:17:04 +0200

<> 

Tanja may have a case here that she was led astray by the -h sts graph- file
as it declares any -twoway options- applicable, and then goes on to say that
the "by options" have to go into a separate option called -byopts-. Most
help files for non-twoway- graphs declare the -by()- syntax with options
appicable (see -h hist- for an example), and readily accept any options
passed within the parantheses for -by()-. -h sts graph- is special in its
formulation then.



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von
simulantin09@web.de
Gesendet: Montag, 18. Mai 2009 10:00
An: statalist@hsphsun2.harvard.edu
Betreff: st: sts graph without title

Hallo,
I could not find a solution to this, and would be grateful if anyone could
point out my mistake. I would like to get rid of the default title and note
that Stata produces with sts graph. Following the help file and this great
graphics book of Michael Mitchell, this should be specified as an option of
by.
I tried the following command:

sts graph, by (country, title("") note("")) separate scheme(lean2)
xtitle("Analysis Time")

I always get the following error message:

by() does not contain a valid varlist
r(198);

The command works perfectly without the title and note option, so there is
no problem with the variable as such. I am using Stata 10.1. 

I am about to get rid of it manually using the editor. Still, I would be
really interested to learn what I did wrong. 
Thanks a lot, best,
Tanja


______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


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



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