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.
ellipse
853
questions
0
votes
0
answers
23
views
aperture photometry with astropy photutils using a set of predefined apertures
I am using photutils to perform isophotal fitting on the image of a galaxy.
#First a dummy iteration to get the right centre
geometry = EllipseGeometry(x0=301, y0=307, sma=20, eps=0.8, pa=np.deg2rad(...
3
votes
1
answer
58
views
matplotlib ellipse englobing points
How to find the ideal angle to place all the points in the ellipse ? I would like to create an ellipse which surrounds all the points on the graph, ellipse with the minimum size (it means that the ...
0
votes
1
answer
46
views
plotting 3d ellipses using R plotly
I'm having issues with plotly: essentially, I've been plotting PCA data and I need to plot them in 3D. Hence, plotly which supports that. I can plot the scores without any issues, the problem is when ...
1
vote
1
answer
105
views
how to force cv2.ellipse to draw a clockwise circular arc?
cv2.ellipse seems to have a mind of its own about which way it interprets start-and end angles.
I want to draw a circular arc from 300° to 130° in the clockwise direction, i.e. like this:
with this ...
0
votes
1
answer
86
views
How to calculate intersection point between lines and ellipses using only math equation [closed]
I want to calculate the intersection points between an ellipse and a line using python.
However how do I do it using only mathematical quadratic equation, when given both end points of the line and ...
1
vote
2
answers
61
views
Draw ellipse in 2D array
I'm trying to draw an ellipse to a 2D array. I have x and y as top left start position and bottom right x and y as end position.
I'm trying to draw an ellipse fitting exactly that rectangle space.
The ...
3
votes
1
answer
52
views
How to plot ellipse centered at weighted mean incorporating 95% of data mass - ideally in Matlab
I'm using Matlab 2022a to solve this problem, but if anyone has general equations/algorithms or a good solution in another program (e.g. R), I'd be interested in hearing about that too.
I have a set ...
1
vote
2
answers
108
views
Find intersection point between line and ellipse in Python
I am trying to find the point which intersects with the line and the ellipse. I can find the point manually as seen in the code but how can I find it automatically. Also when the red point is inside ...
0
votes
1
answer
38
views
Why Creating Component Class Ellipse in WinForm Applications make not responding in vb.net
I'm Trying to Creating Component Class Ellipse in WinForm Applications make not responding in vb.net
I've tried it on a different computer, still the same
makes it not responding and also restarts ...
0
votes
0
answers
11
views
I have error of unexpected symbol in ellipse fuction. I tried to draw ellipse using ellipse pakage
ellipse fuction (hlaxa=1,hlaxb=1,theta=0, xc=0,yc=0,newplot=TRUE,npoint=100) { ...
0
votes
1
answer
120
views
Rotating an ellipse alongside its major axes
My goal is to plot a rotational ellipsoid in 3D.
I have a code for creating a simulation of the respective ellipse in 2D:
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.patches ...
1
vote
0
answers
35
views
Using additional arguments in a R function inside purrr::map_df have no effect
I have a function that performs several statistical tests (default is wilcoxon rank sum test) and returns a dataframe where each row is a result.
library(rstatix)
library(tidyverse)
calculate_pval &...
0
votes
0
answers
26
views
Why is a 'border-bottom' looking like an ellipse on mobile?
When I open developer tools on computer there is no issue and looks great, even when I adjust the screen size. However, when I open the link on my phone the underlined portion looks like an ellipse. I'...
0
votes
0
answers
14
views
Android BottomNavigation avoid label getting truncated when selected
One on my labels on the BottomNavigationView is too long and gets truncated with the 3 dots "..." when selected. Is there a way to avoid this behavior? (See images)
I need to show the whole ...
0
votes
0
answers
58
views
Ellipses do not align with data using SIBER R package
I'm using the SIBER package to analyze some data, and am following this tutorial, but it doesn't seem to be working with my data, and I'm not sure if it's a statistics, coding, or sample size problem (...