Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Help with graph bar

From   Ulrich Kohler <>
Subject   Re: st: Help with graph bar
Date   Wed, 30 Nov 2005 16:32:10 +0100

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

+49 (030) 25491-361
*   For searches and help try:

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