Statalist


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

Re: st: clear


From   Steven Samuels <sjhsamuels@earthlink.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: clear
Date   Wed, 24 Sep 2008 11:40:48 -0400

-
I see your point, Sergiy. You are saving graphs to memory using the - name- option; I was speaking about saving graphs to disk. I agree that a -graph clear- option would be helpful.

-Steve
On Sep 24, 2008, at 11:10 AM, Sergiy Radyakin 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
<sjhsamuels@earthlink.net> 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/
*
*   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/



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