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

st: RE: keyplot


From   "Nick Winter" <nwinter@policystudies.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: keyplot
Date   Fri, 13 Dec 2002 11:55:44 -0500

The problem appears to be that -keyplot- does not support the graph
symbol "x".  

You should note that in the results window, you are getting a r(812)
error message -- this is the internal graphing routine complaining about
an illegal call to -gph-.  The fine author of keyplot should be able to
fix this problem straight away; but in the mean time you can work around
by using different symbols.

--Nick Winter


-----------------------------------------------------------
 Nicholas Winter, Ph.D.                     P 202.939.5343
 Policy Studies Associates                  F 202.939.5732
 1718 Connecticut Avenue, NW     nwinter@policystudies.com
 Washington, DC 20009-1148           www.policystudies.com
----------------------------------------------------------- 

> -----Original Message-----
> From: Stacey Pelika [mailto:pelika@polisci.wisc.edu] 
> Sent: Friday, December 13, 2002 11:30 AM
> To: 'statalist@hsphsun2.harvard.edu.'
> Subject: st: keyplot
> 
> 
> Hi,
> 
> 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
> variables).
> 
> 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.
> 
> Thanks!
> Stacey Pelika
> University of Wisconsin - Madison
> 
> 
> *
> *   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/
> 
*
*   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