Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
100 views

Fitting sigmoid functions

I have some data I am trying to fit to a sigmoid function (several parameters for several species), however apparently some of them don't look fitted in a good way, I don't understand where the ...
davide giordano's user avatar
-3 votes
1 answer
50 views

Can this curve be made from a rectangle image with CSS? [duplicate]

I have some headers on my website and I was wondering if I can make this curve from a rectangle image with CSS. This is how it looks like: Is this possible with CSS? And I also would like to get a ...
Arie's user avatar
  • 375
0 votes
1 answer
104 views

How to draw center curve in UIView?

How to create a smooth top center inward curve in a UIView in Swift (using UIBezierPath)? This does create a curve, but it doesn’t look smooth or natural. It either appears too sharp or not deep ...
Prit Tejani's user avatar
2 votes
1 answer
74 views

Find points in curve

Can you share some ideas of how to find curve points (orange color marked places) like shown in picture: I've tried this code: result = [] for i in range(len(df)): if i == 0 or df['y']....
Magnetinis's user avatar
0 votes
1 answer
31 views

Why can I not get a continous curve when manually splitting a fitted curve into two parts?

I aim to fit the following function to my data: def P(t, CP, Pan, tau): P_val = CP + Pan / (1 + t / tau) P_val = np.where(t >= 900, P_val - 0.8 * np.log(t / 900), P_val) return P_val ...
MΓ‘rton HorvΓ‘th's user avatar
1 vote
1 answer
145 views

How to bend properly a mesh

As the title suggests, I would like to curve a mesh. I have an algorithm that works, but I'm stuck on certain points... Here is my code: var mesh_data = mesh.surface_get_arrays(0) var vertices = ...
RoB's user avatar
  • 19
0 votes
0 answers
36 views

Reading .dxf file to plot spline

A consult, I have a file .dxf with one spline, the spline data indicate the Degree of the curve, number of knots, number of control points, value of control points, etc. My doubt is how can I use such ...
user20602609's user avatar
1 vote
1 answer
72 views

Intersection of two data sets, one linear and one not

I need to find the intersection of a straight line and a stress-strain curve to determine the offset yield strength. I've been trying to use the following code, which successfully prints the curve ...
Clem Entwistle's user avatar
1 vote
1 answer
62 views

Polyline Curvature Combs in Lua, Love2D

I have a polyline (white) with coordinates {x1, y1, x2, y2, x3, y3 ...} polyline = {100,300,160,257,220,242,280,250,340,271,400,300,460,329,520,350,580,358,640,343,700,300} How can I get the ...
darkfrei's user avatar
  • 596
0 votes
1 answer
43 views

how to shift curve vertically so that minimize the total area difference

I have two curves, Actual Ya, which is green color and predicted Yp which is light red color, may i know how to shift the Yp vertically to Yp' so that the area difference is the minimal (which is red ...
sweetyBaby's user avatar
1 vote
0 answers
122 views

Creating smooth rounded corners in panels when try to do curve the corner of form in Winforms applications

I am working on a Windows Forms application where I have implemented code to curve the corners of the form. While the code successfully curves the form itself, it does not work for controls like panel ...
Niky savaliya's user avatar
3 votes
1 answer
70 views

Find shadowed vertices in 2d curve with point light

I have a set of vertices that form a curve in x and y. The curve is smooth, not convex, doesn't intersect and there are no vertical or beyond vertical parts. The x values are unique integers. The ...
YPOC's user avatar
  • 731
0 votes
0 answers
44 views

Photoshop curves adjustment layer, off-line node automatically appears

In Photoshop, quite often when I place a curves adjustment layer, the node in the image (red arrow) appears automatically. I have scoured YouTube and Adobe help and can't find any explanation. Does ...
user300246's user avatar
1 vote
0 answers
56 views

piecewise C2 cubic Bezier spline

I am implementing c2 interpolating splines. Assuming the first segment's 4 points are p0, p1, p2, p3. And second segment's 4 points are q0, q1, q2, q3. To achieve C2 continuity, I'm using the ...
yeah3688's user avatar
0 votes
2 answers
142 views

R display a violin plot over curve

I would like to draw on the same plot a curve and some violin plots. Is it possible ? For now, I'm only able to draw them separately, one of the top of the other as in the example code. Here is an ...
Ccile's user avatar
  • 223

15 30 50 per page
1
2 3 4 5
…
98