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
2 answers

Is the PrincipalAxisLength measurement equivalent to the object diameter in the regionprops3 output?

I am using the regionprops3 command to compute properties of an object in MATLAB. I thought PrincipalAxisLength is the diameter of my object but it is not. I created a binary image I containing an ellipsoid with radii (40, 10, 10). I get these…
ankit agrawal
  • 301
  • 1
  • 14
3
votes
1 answer

R - Ellipse (`...`) and `NULL` in function parameters

Envision examplefn <- function(x = NULL, ...){str(x)} I'm trying to get this function to honor the implicit x = NULL. Consider the following: For a call using both x and ... this results as expected in: > examplefn(1,2) num 1 If using an explicit…
balin
  • 1,554
  • 1
  • 12
  • 26
3
votes
1 answer

Error: Too few points to calculate an ellipse with 3 points? - R

G'day. I am plotting a pca with the factoextra package. I have 3 points for each factor and would like to draw ellipses around each. But I am getting the error Too few points to calculate an ellipse. It is possible to draw ellipses around 3 points…
J.Con
  • 4,101
  • 4
  • 36
  • 64
3
votes
2 answers

How to rotate ellipse in tkinter canvas?

I have a simple ellipse (red) and I want to rotate the ellipse. The following code only return flatten ellipse (blue) but it does not rotate: import tkinter as tk import numpy as np import math def rotate(points, angle): new_points…
Hajar
  • 93
  • 1
  • 6
3
votes
1 answer

ellipse not showing up - python matplotib

I am trying to plot an ellipse. ax = plt.subplot(111) ellipse = Ellipse(mean1L, ellipse_x, ellipse_y, angle=theta) ax.add_artist(ellipse) plt.show() Every argument seems fine, but it isn't showing up. What am I doing wrong?
Lauren
  • 337
  • 1
  • 2
  • 4
3
votes
2 answers

Points in a scatterplot with individual ellipses using ggplot2 in R

My dataset is formed by 4 columns, as shown below: The two columns on the left represent the coordinates XY of a geographical structure, and the two on the left represent the size of "each" geographical unit (diameters North-South and East-West) I…
antecessor
  • 2,688
  • 6
  • 29
  • 61
3
votes
2 answers

Sum area between groups of overlapping forms

I am having trouble finding a clean way to calculate the remaining area between groups of curves plotted in Python in a given zone. Here is an image to illustrate: Each form is made of 2 half ellipses with different parameters for the height with…
Al Menia
  • 85
  • 5
3
votes
1 answer

Restrict stat_ellipse to certain data points

I have a dataset with four categories of vowel, akin to the following: speaker vowel_category f1 f2 1 a x x 1 b x x 1 c x x 1 d x x 2 …
HML
  • 31
  • 2
3
votes
1 answer

Fitting data points to an ellipse with its center at the origin using R

I have a question about fitting ellipses to data with the ellipse center at the origin. I have explored two methods that fit ellipses but generate an arbitrary center unless I manipulate the data with some imaginary mirror points. Method#01 This…
ToNoY
  • 1,358
  • 2
  • 22
  • 43
3
votes
2 answers

How to Integrate Arc Lengths using python, numpy, and scipy?

On another thread, I saw someone manage to integrate the length of a arc using mathematica.They wrote: In[1]:= ArcTan[3.05*Tan[5Pi/18]/2.23] Out[1]= 1.02051 In[2]:= x=3.05 Cos[t]; In[3]:= y=2.23 Sin[t]; In[4]:=…
Fairly Factual
  • 161
  • 3
  • 13
3
votes
4 answers

Convert position confidence ellipse to covariance matrix

Is there any way to compute a covariance matrix out of a confidence/uncertainty/error ellipse? I know how it's done the other way around, using a 2x2 covariance matrix to compute an confidence ellipse (e.g. described here:…
Thomas
  • 88
  • 2
  • 11
3
votes
1 answer

Change x/y-coordinate of ellipse

As a part of a bigger project, I'm trying to figure out how to move an object (ellipse in this case). Here is the part of my code that is giving me trouble: //updating the position of the ellipse let updatePoints (form : Form) (coords :…
Average_guy
  • 509
  • 4
  • 16
3
votes
0 answers

Ellipse type in PCA example

In this example, the author uses ggbiplot to visualise PCA of iris data. he also draws ellipses around the groups. My question - what type of ellipses are those (probability ellipse, confidence ellipse, etc..)? And what do they represent ? The…
nlv
  • 791
  • 7
  • 28
3
votes
2 answers

Markdown three ellipses between paragraphs

I'm wanting to get this effect where one paragraph ends. Then centered on a line by itself are three ellipses '. . .' then the new paragraph starts on the next line. There is an example of this on Daringfireball it looks exactly like the image…
Robert
  • 63
  • 7
3
votes
4 answers

Distance from point to ellipse

I need to somehow compute the distance between a point and an Ellipse. I describe the Ellipse in my program as coordinates x = a cos phi and y = b sin phi (where a,b are constants and phi the changing angle). I want to compute the shortest distance…
DevX10
  • 483
  • 2
  • 6
  • 16