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

RE: st: Why is the -plot()- option now the -addplot()- option?

From   "Newson, Roger B" <>
To   <>
Subject   RE: st: Why is the -plot()- option now the -addplot()- option?
Date   Wed, 18 Jun 2008 21:37:33 +0100

Thanks to Nick and Vince for putting my mind at rest. The new -eclplot-
will in due course will have an -addplot()- option (recommended), plus a
-plot()- option (deprecated) so old do-files will still work.

Best wishes


Roger B Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

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

-----Original Message-----
[] On Behalf Of Vince
Wiggins, StataCorp
Sent: 18 June 2008 19:02
Subject: Re: st: Why is the -plot()- option now the -addplot()- option?

Roger Newson <> asks,

> A minor query re Stata 9 and 10 graphics. Is there any special
> reason why the -plot()- option of Stata 8 was renamed to the
> -addplot()- option in Stata 9? 

I admit that I don't recall.  A few possibilities are:

    o We thought the name -plot- was too ambiguous given
      that the documentation for -twoway- relies so heavily
      on the concept of plots.

    o We thought that the option name -plot- might be extremely
      useful for a different purpose in the future.  (And I don't
      know what that would be.)

    o We wanted to emphasize that you were adding a plot, and not 
      designating what was plotted.

I will also admit that none of those reasons sounds right.  Given that
we try
very hard not to change existing names without truly good cause, I am
sure the real reason was more compelling than those listed above.  The
intervening years have not been kind to that particular memory.

Roger goes on to ask,

> And is the name now stable? (It seems to have persisted in Stata
> 10.) I ask because I am planning the Stata 10 version of the SSC
> package -eclplot-, which currently is Stata 9, and has a -plot()-
> option inherited from Stata 8, which I would like to harmonize with
> the rest of Stata.

Roger need not worry.  It is highly unlikely we will decide to rename
option yet again.  Any perusal of the historical stability of Stata
syntax and option names will support that conclusion.  Even if, against
all my
assurances, we did decide to rename the option in the future, the name
-addplot- is not very interesting for other uses, and so while it might
undocumented, it would continue to work.

-- Vince

*   For searches and help try:

*   For searches and help try:

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