Questions tagged [ellipse]

In geometry, an ellipse is a plane curve that results from the intersection of a cone by a plane in a way that produces a closed curve. Circles are special cases of ellipses. An ellipse is also the locus of all points of the plane whose distances to two fixed points add to the same constant.

In geometry, an ellipse (from Greek ἔλλειψις elleipsis, a "falling short") is a plane curve that results from the intersection of a cone by a plane in a way that produces a closed curve. Circles are special cases of ellipses, obtained when the cutting plane is orthogonal to the cone's axis. An ellipse is also the locus of all points of the plane whose distances to two fixed points add to the same constant.

Ellipses are closed curves and are the bounded case of the conic sections, the curves that result from the intersection of a circular cone and a plane that does not pass through its apex; the other two (open and unbounded) cases are parabolas and hyperbolas. Ellipses also arise as images of a circle under parallel projection and the bounded cases of perspective projection, which are simply intersections of the projective cone with the plane of projection. It is also the simplest Lissajous figure, formed when the horizontal and vertical motions are sinusoids with the same frequency.

838 questions
3
votes
1 answer

How to find the intersection of two ellipses in MATLAB

I have two equations: ellipseOne = '((x-1)^2)/6^2 + y^2/3^2 = 1'; and ellipseTwo = '((x+2)^2)/2^2 + ((y-5)^2)/4^2 = 1'; and I plotted them: ezplot(ellipseOne, [-10, 10, -10, 10]) hold on ezplot(ellipseTwo, [-10, 10, -10,…
kneedhelp
  • 555
  • 4
  • 18
3
votes
1 answer

Move ImageView elliptically around a center in a RelativeView

I have a setup in which I have some ImageViews around a center, and when the user clicks a Button, I want the Views to rotate around the center view, in an elliptical way. What I have at current time is an elliptical movement, but the view is…
LeoColman
  • 6,950
  • 7
  • 34
  • 63
3
votes
1 answer

How to calculate the volume of the intersection of ellipses in r

I was wondering how to calculate the intersection between two ellipses e.g. the volume of the intersection between versicolor and virginca as illustrated in this graph: which is plotted using the following mwe based on this…
raumkundschafter
  • 429
  • 1
  • 8
  • 24
3
votes
1 answer

How to change the line type of ellipses in ggbiplot?

Is it possible to change the type of lines of the normal probability ellipsoids in ggbiplot, e.g. have them dashed and dotted lines instead of or additional to the different colors? I couldn't find anything in the documentation of ggbiplot except…
raumkundschafter
  • 429
  • 1
  • 8
  • 24
3
votes
1 answer

How do I plot a planet's orbit as a function of time on an already plotted ellipse?

I am trying to create a program for my course where the user inputs a time after 1/1/16 and the program will run through the planet's cycle as many times as it needs to and then plot an image of the orbit with the planet in the correct location. My…
thevellocet
  • 53
  • 1
  • 8
3
votes
1 answer

How to hide rectangle outline while drawing curves

In my app I need to have a UIView whose form is initially a circle but then it can be altered into an ellipse by changing its height or width. So, I have overridden the drawRect() method like the following: override func drawRect(rect: CGRect) { …
SagittariusA
  • 5,289
  • 15
  • 73
  • 127
3
votes
0 answers

Creating a believable elliptical orbiting element (plane) with SVG and CSS?

first time question poster here. After over 2 days of searching on StackOverflow & other sites, and playing on my own with CodePen, I just cannot seem to figure out how to create an orbiting path for an SVG element that isn't a circle. Here's a…
3
votes
1 answer

XAML: align Ellipse with Uniform stretch to the center

I'm trying to align an Ellipse with Uniform Stretch to the center (both vertical and horizontal). But when I add HorizontalAlignment="Center" and/or VerticalAlignment="Center" to the Ellipse, it becomes invisible. This is my XAML code:
3
votes
6 answers

How to draw an Ellipse using Openlayers3

I'm working on a project where we're using OpenLayers3. We need to give users the ability to draw various features on map. Here is an official example to draw features on map. We need to draw an ellipse on map but there is not such a functionality…
muzaffar
  • 1,706
  • 1
  • 15
  • 28
3
votes
1 answer

How to change the linetype for ellipses in ggplot2 with stat_ellipse?

So I'm trying to change the line type on ellipses generated from stat_ellipse in ggplot2 (see here https://raw.github.com/low-decarie/FAAV/master/r/stat-ellipse.R). I can manually set the colors easily enough, but I'd like to give it a vector of…
TheFoxx
  • 1,583
  • 6
  • 21
  • 28
3
votes
1 answer

How to Find Intersections with Ellipses in PGF/TikZ

I am trying to display a sphere in PGF/TikZ to illustrate the idea of great circles. The code for my current result is: \begin{tikzpicture} \tikzfading[name=fade right, left color=transparent!20, right color=transparent!90] \tikzfading[name=fade…
user327684
  • 163
  • 2
  • 6
3
votes
2 answers

Producing an array from an ellipse

I have an equation that creates an ellipse in the general form x^2/a^2 + y^2/b^2 = 1. I wish to produce an array whereby all points inside the ellipse are set to one and all points outside are a zero. This array is then to be convolved with…
mysterious-bob
  • 105
  • 2
  • 10
3
votes
1 answer

How to subtract the area of an ellipse outside of the unit square?

I have defined the unit square as a region in a matlab code and I've created ellipses of random sizes, all centered in the unit square. However, just because they are centered in the unit square does not mean that all of their area is inside the…
user132039
  • 99
  • 6
3
votes
1 answer

Customizable ellipse for a paint application

I've been working on a paint application with C#; and I want to add an option that toggles drawing an ellipse with your current brush. I've been stumped on how to make it so the size and Y location of the ellipse changes while holding the mouse…
3
votes
2 answers

R - Ellipse Area with Montecarlo Method

I need to calculate the area of the eclipse (a=6 b=3) with the Montecarlo Method. Also I have to make a plot (a diagram) of the result with the inside points red and the out ones black. At the end I have to compare the "Montecarlo result" with the…
fiore
  • 33
  • 1
  • 4