A line at an angle theta from the horizontal
has an equation like y = x tan(theta) and can be superimposed
by using -twoway function-. You need to work with radian
measure.
e.g scatter response predictor || function y = x, ra(predictor)
scatter response predictor || function y = x * tan(_pi / 6), ra(predictor)
There is no direct support for polar coordinates in official
Stata. Some user-written programs exist for circular statistics,
as -findit- makes clear.
Nick
[email protected]
[email protected]
>
> I'm using Stata 8 and I would like to know whether and how it
> is possible to
> superimpose a 45 degree line, a 30 degree line, etc over a
> -scatter- graph.
>
> Further, does Stata support graphs in polar coordinate
> planes? Or did someone
> wrote something on this?
*
* 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/