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:
> Sergiy-
>
> Use the "replace" option when you save graphs. This will clear out graphs
> of the same name.
>
> -Steve
>
> 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:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
>
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/