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

st: keyplot

From   Stacey Pelika <>
To   "''" <>
Subject   st: keyplot
Date   Fri, 13 Dec 2002 10:29:38 -0600


I'm trying to use keyplot to allow me to have more than four keys in the
legend (I'm graphing seven variables). No matter what I try, I can only
get three variable keys to show up. For example, when I use:

keyplot strrep weakrep leanrep indep leandem weakdem strdem response,
xlab ylab border varlbl row(3000 4000 5000 6000 7000 8000 9000)
col(6000) c(l[l]l[_]l[-]l[.]l[-]l[_]l[l]) s(TTTxSSS) yscale(0,1) b2("NES
Response ('Much Worse' to 'Much Better')") l2("Probability of Vote for
Incumbent Republican")

I get a nicely placed legend with three variables in it, not seven,
making it even less complete than using graph (with which I get four

Also, is there any way to get the key to show not only the symbol but
the line style? I'm using the same symbol for two different sets of
variables but with different line styles.

Stacey Pelika
University of Wisconsin - Madison

*   For searches and help try:

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