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

RE: st: RE: triplot labels

From   "Nick Cox" <>
To   <>
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- 

*   For searches and help try:

© Copyright 1996–2023 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index