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

st: RE: vecstable graph ?


From   "Scott Merryman" <[email protected]>
To   <[email protected]>
Subject   st: RE: vecstable graph ?
Date   Wed, 25 Aug 2004 17:39:47 -0500

Lars,

Here is one way to produce circles:

twoway (function y = sqrt(9-x*x), xlabel(-3(.5)3) range(-3 3)
clstyle(refline) ylabel(-3(.5)3, nogrid)) /// 
        || (function y = -1*sqrt(9-x*x),legend(off) range(-3 3)
clstyle(refline)) /// 
        || (function y = sqrt(4-x*x),   legend(off) range(-2 2)
clstyle(refline)) /// 
        || (function y = -1*sqrt(4-x*x),legend(off) range(-2 2)
clstyle(refline)) /// 
        || (function y = sqrt(1-x*x),   legend(off) range(-1 1)
clstyle(refline)) /// 
        || (function y = -1*sqrt(1-x*x),legend(off) range(-1 1)
clstyle(refline)  aspect(1))


Hope this helps,
Scott

> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Lars Korsholm
> Sent: Tuesday, August 24, 2004 8:16 AM
> To: [email protected]
> Subject: st: vecstable graph ?
> 
> Hi
> 
> Reading the stata news vol 19 no 3
> on front page I see a nice graph
> I think created with
> ...
> vecstable, graph
> 
> I wounder how the circular curves in the background is created.
> Does anyone knows?
> 
> (I could not myself decifrate the adofiles ;-)
> 
> Best Lars
> 

*
*   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