Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Re: graph matrix by(x, norescale) doesn't work


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Re: graph matrix by(x, norescale) doesn't work
Date   Tue, 9 Dec 2008 09:44:02 +0100

Line for the server...

" Why are there no -(lfit y x)- and -(lfitci y x)- options with -graph
matrix?"

I would not call these options. The -twoway- family allows you to add
additional types of -graph-s to an existing one. -gr matrix- is not part of
this family, so systematically I would not expect there to be an -add plots-
capability. -hist-, for instance, does allow that, so in future what you
call for may be desirable. I do note though that -gr matrix- already takes a
long time to draw its plot so allowing additional plots would certainly make
that worse...

HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Clive Nicholas
Sent: Tuesday, December 09, 2008 7:55 AM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: Re: graph matrix by(x, norescale) doesn't work

Nick Cox replied to David Airey:

> A trick that gets you some of the way to different symbols:
>
> sysuse auto, clear
> gen mymarker = cond(foreign, "o", "x")
> graph matrix weight length displacement, ///
>        ms(none) mlab(mymarker) mlabpos(0)
>
> I don't know a way to get different colours.

I've been playing around with Nick's solution with some of my own
data, and it turns out to be quite useful, especially when I switch on
the -if e(sample)- option.

One question for StataCorp: Why are there no -(lfit y x)- and -(lfitci
y x)- options with -graph matrix? If I'm not missing anything obvious,
this would make -graph matrix- even more useful than it already is.

-- 
Clive Nicholas

[Please DO NOT mail me personally here, but at
<clivenicholas@hotmail.com>. Please respond to contributions I make in
a list thread here. Thanks!]

"My colleagues in the social sciences talk a great deal about
methodology. I prefer to call it style." -- Freeman J. Dyson.
*
*   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