Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to visualize some data in the form:

    x: 455.53 //the center x coordinate
    y: 122.44 //the center y coordinate
    e1: .24101 //value from -1 to 1, represents stretching along x when positive, along y when negative
    e2: -.44211 //value from -1 to 1, represents stretching along the 45 degree line when positive and 135 when negative 

This is intended to describe an ellipse, and I guess I can picture how it would work in my head. What I have no idea how to do, is transform this data into a form I can use to draw an ellipse. What I really need is the scale factor of the major axis, the minor axis and the angle of rotation, since its essentially describing a deformed circle of arbitrary size. Any other forms of ellipse are also welcome. Thanks!

edit - more info

The ellipiticity of the circle at a position $\left(x,y\right)$ tangential to a point $\left(x',y'\right)$ is

$$e_{tangential} = -(e_1\cos(2\phi) +e_2\sin(2\phi)))$$

where the angle of the ellipse with respect to the point is given by

$$\phi = \arctan\left(\frac{y-y'}{x-x'}\right)$$

share|cite|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.