Statalist


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

Re: st: RE: AW: Graph matrix with multiple marker colors


From   David Airey <[email protected]>
To   [email protected]
Subject   Re: st: RE: AW: Graph matrix with multiple marker colors
Date   Tue, 31 Mar 2009 11:32:56 -0500

.

I always seem to forget that trick. I suppose one could use any character from a symbol font too.

-Dave

On Mar 31, 2009, at 7:59 AM, Nick Cox wrote:

As Martin says, -mcolor()- never takes anything other than something
indicating a single colour.

So, either you generate the individual graphs using -scatter- and then
-graph combine-, or you distinguish genders in another way.

Here's another easy solution, if not to your problem:

. sysuse auto, clear
(1978 Automobile Data)

. gen mlbl = cond(foreign == 0, "o", "+")

. graph matrix headroom trunk weight length, ms(none) mla(mlbl)
mlabpos(0)

Nick
[email protected]
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index