Statalist The Stata Listserver


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

Re: st: Re: Graph syntax


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

--- Paul Fenner <[email protected]> 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:
http://home.fsw.vu.nl/m.buis/stata/exampleFAQ.html )

hope this helps,
Maarten

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

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


		
___________________________________________________________ 
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. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
*
*   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/



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