
From  David Kantor <kantor.d@att.net> 
To  statalist@hsphsun2.harvard.edu 
Subject  Re: st: Stata graphics speed 
Date  Mon, 12 Jun 2006 08:27:03 0400 
I think it's because much of Stata graphprograms are written as Ado code. The
programs have to be loaded into memory when used the first time, i.e. Stata
have to look for the files. Graphs will take even longer if Stata is
installed on a slow network.
This is also just a guess.
Uli
Allan Reese (Cefas) wrote:
> Friedrich Huebler <huebler@rocketmail.com> wrote 9 Jun 2006
> Subject: Re: st: Video card and Stata speed
>
> As an example, a fairly detailed map of the world drawn with tmap
> from SSC takes about one minute to render on my computer. ...
> Other Stata graphs like scatter plots or bar charts are *redrawn* [my
> emphasis] instantaneously and virtually nothing would be gained from a new
> video card.
> 
>
> Something I've never understood is why graphs take a long time to appear in
> the first place. Commands like "gen y=_n" happen immediately, even with
> quite large numbers of observations. (I could just notice the delay with
> obs=1 millon). In contrast, a simple "scatter y x" with a few observations
> takes several seconds before anything appears. That sometimes applies even
> when what comes up is a syntax error. Can anyone explain? I've guessed
> that the delay is while Windows allocates memory for the graph window, but
> that is just a guess.
>
> Allan
[...]
* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/
© Copyright 1996–2023 StataCorp LLC  Terms of use  Privacy  Contact us  What's new  Site index 