Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Graph syntax

From   Maarten buis <>
Subject   Re: st: Re: Graph syntax
Date   Thu, 29 Mar 2007 15:32:07 +0100 (BST)

--- Paul Fenner <> wrote:
> I would be grateful if somebody could tell the correct syntax for:
> 1) Suppressing the the legend that says "Graphs by variable" when
> using the by option with twoway, and
> 2) I only want the y variable values and not the variable name when
> using tableplot.

*---------- begin example -----------
sysuse auto, clear

twoway scatter price mpg, by(foreign, note(""))

egen meanprice = mean(price), by(foreign rep78)
tableplot rbar meanprice for rep78, ytitle("")
*----------- end example ------------

(For more on how to use examples I sent to the Statalist, see: )

hope this helps,

Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship.* 
*   For searches and help try:

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