Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Suggestion for an added graph feature


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Suggestion for an added graph feature
Date   Tue, 03 Aug 2004 11:48:23 -0500

Dear Nick,

Thanks for your reply and the reply of the others. Maybe I wasn't clear enough as to what I wanted, nothing quite so heinous as "information that Stata can't guarantee to make sense of." Rather, I was thinking of an addition that was equivalent to -label data- or -notes _dta-. Ideally, it could be an option so it wouldn't inflate the size of the file unless requested. If the option was requested it would save the graph command and the path/filename.

Saving the information in a do file as Richard Stoll suggests is, of course, another way to do this, as is saving the information in a note attached to the .dta file.

Fred

Fred

At 11:10 AM 8/3/2004, you wrote:

The very annoying answer "Don't do that then!"
is nevertheless possibly the simplest advice.

On your suggestion: I doubt that this is the best way
for Stata to go.

The command a user types that creates a graph could be
a call to a .do file or a user-written program.
That's likely no problem to you, assuming that you can
find or re-create such a .do file or user-written
program, but it is a bad principle for a Stata
graph (file) to contain information that Stata
can't guarantee to make sense of. For example,
the other file could easily have been lost,
discarded or modified.

In fact, Stata graph files do contain far more
information that can be used. Exploiting the way that
graphs use sersets offers one path here. Vince
Wiggins' talk at the London users' meeting,
recently made available, offers some explanation
and examples.

Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
Tel (316) 263-2125     Fax (316) 263-0761
fwolfe@arthritis-research.org


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index