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

st: RE: graph

From   Roger Newson <>
Subject   st: RE: graph
Date   Wed, 09 Apr 2003 11:33:35 +0100

Sundaram-Stukel wrote:

Dear Statalist,

I am trying to graph a multiple time series plot. I keep getting the
following error message

.         graph RBanadesa year, connect(L) year, connect(L): class member function not found

RBanadesa is not a valid graph subcommand

What am I doing wrong?
Evidently, you are using Stata 8 and inputting Stata 7 graph commands. You can do one of 2 things:

1. You can use the old Stata 7 graph command, available as -graph7-, as in

graph7 RBanadesa year, connect(L)

2. You can upgrade to the Stata 8 graph command, as in

graph twoway scatter RBanadesa year,connect(L)

which will probably give you better graphics.

If you are in a frantic hurry to make a deadline later today, option 1 might be best. However, Stata 8 graphics are a lot better than Stata 7 graphics once you learn how to use them.


Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605

Opinions expressed are those of the author, not the institution.

* For searches and help try:

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