Svend Juul wrote in reply to Ilariy
> Look at the online help:
> help graph bar
> It tells nothing about a -by()- option; probably the -over()- option is
> what you need.
Svend is correct that the help on -graph bar- does not mention a -by()-
option. Nevertheless -by()- is allowed with -graph bar-, as it is for -graph
dot-, -graph matrix- and any other graphtype I am aware of.
I think the help files are mistakable here. -by()-, like -name()-, -nodraw-,
etc. are not really -twoway options-, as the help file implies ("The above
options are allowed with all twoway plots, scatter, line, ...")
I would consider them as -graph options-, so that the syntax diagram for
-graph twoway- should read as
[graph] twoway plot [if] [in] [, twoway_options graph_options]
and for -graph bar- as
graph bar[if] [in] [, options graph_options]
many regards
Uli
--
[email protected]
+49 (030) 25491-361
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/