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

Re: st: twoway rspike - with marker labels placed in the center of thespike


From   [email protected]
To   [email protected]
Subject   Re: st: twoway rspike - with marker labels placed in the center of thespike
Date   Wed, 27 Jul 2005 13:22:02 -0500

You can place a scatter plot with marker labels over the spike plot.  
For example:

sysuse sp500, clear

keep in 1/10

gen mean = (high + low)/2

twoway rspike high low date  /// 
|| scatter mean date, msymbol(none) mlabel(date) mlabposition(0) legend
(off)


Hope this helps,
Scott



----- Original Message -----
From: "Stevenson, John" <[email protected]>
Date: Wednesday, July 27, 2005 1:03 pm
Subject: st: twoway rspike - with marker labels placed in the center 
of the spike

> Does anyone know how to create spike plots with a marker label 
> centeredon the midpoint of the spikes, using for example fips codes
> 
> Something like
> 
> |                                  |
> |                         |        |           
> |               |         VA      AK
> |               CA        |        |
> |               |                  |
> |____________________________________
> 
> Only with the fips codes rotated 90 degrees 
> Regards,
> John
> 

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