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

Re: st: clear

From   Steven Samuels <[email protected]>
To   [email protected]
Subject   Re: st: clear
Date   Wed, 24 Sep 2008 13:36:39 -0400

 -graph drop _all-   seems to be what Sergiy is looking for.


On Sep 24, 2008, at 11:36 AM, Austin Nichols wrote:

Yes, the manual describes "Graph" as the default name (p.463).
Perhaps you want -clear all- or -discard-?

On Wed, Sep 24, 2008 at 11:10 AM, Sergiy Radyakin
<[email protected]> wrote:
Thank you Steven.
Option replace has an inconsistency of its own:

sysuse auto
scatter l w, name("Graph") mc(red)
scatter l w
graph display Graph

Here the second command overrides the graph saved in the first command
without an option -replace-.
Nothing deadly, but can happen, because the reserved name for the
default graph "Graph" is nothing extraordinary like "_ST0001XYZ". Does
the manual describe "Graph" as the such name?

Anyways, just wish graph clear _all was part of the official clear.

Best regards,
Sergiy Radyakin

On Tue, Sep 23, 2008 at 8:11 PM, Steven Samuels
<[email protected]> wrote:


Use the "replace" option when you save graphs. This will clear out graphs
of the same name.


On Sep 23, 2008, at 7:05 PM, Sergiy Radyakin wrote:

Dear All,

is there any reason why -clear- does not clear the graphs stored in
memory? In Stata version 10 -clear- clears more things then in 9, but
graphs are still not cleared, and repeatitive runs of the program that
saves graphs to memory fail, because graphs already exist. Of course
adding graph drop _all resolves the problem, but why is this not a
part of the -clear- command itself?
*   For searches and help try:
*   For searches and help try:

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