[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: superimpose 45 degree line in -scatter-
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
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.
> 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: