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

RE: st: RE: triplot labels


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: triplot labels
Date   Thu, 5 Dec 2002 12:52:59 -0000

Thomas Gschwend

> OK, I try to be more precise. I meant "legend" not label.
> 
> My observations can be devided into two groups according to 
> the values of a 
> dummy variable ("idx"). If I plot all observations in the 
> same triangle 
> they should get different symbols. In order to do that I 
> have to specify 
> -key()- and -sy()-. So far so good. Howerver, using this 
> syntax I get a 
> legend on the upper right side outside the triangle. I 
> wonder how I can get 
> rid of this legend.

OK. I can see that this might be useful 
for situations in which you prefer to 
put your own explanations in some other
form, such as a caption, so an option 
to this effect should be considered. 

For the moment the quickest way 
to do this is, I guess, to get into the code, 
cut the block which writes out the key 
which starts 

if `keyvar' & `first'[`i'] == 1 & `nkey' > 1 & `nkey' < 13 {

and save the program as something else; 
remember to revise the -program define- 
line. 

Nick 
n.j.cox@durham.ac.uk 
*
*   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