Questions tagged [curve]

In mathematics, a curve (also called a curved line in older texts) is, generally speaking, an object similar to a line but which is not required to be straight.

1306 questions
-2
votes
2 answers

How to plot a log curve in R?

I have the following set of data: x = c(8,16,64,128,256) y = c(7030.8, 3624.0, 1045.8, 646.2, 369.0) Which, when plotted, looks like an exponential decay or negative ln function. I'm trying to fit a smooth curve to this data, but I don't know…
user2954167
  • 155
  • 1
  • 3
  • 14
-2
votes
1 answer

How to find function for calculating Y in curve using R

I have a logarithmic curve in x and y data (I know the curve is smooth and have 127 data points). Im trying to use R to find the equation for calculating Y when X = N. I have put my data into R x = c(0, 1, 2, 3, 4... y = c(0 , 31.6 , 33.3 , 35.1 ,…
Ke.
  • 2,484
  • 8
  • 40
  • 78
-2
votes
3 answers

Need a good library for plotting a curve

I am looking for something like http://www.flotcharts.org/flot/examples/tracking/index.html. The only problem is that I need y axis to show altitude and x axis to show time of the day. How can I do this; I can use php or jquery for this work, so any…
user11085
  • 5
  • 2
-3
votes
1 answer

Why does JavaScript defines the vector as vector and as undefined at the same time?

So, I've tried to define a class where a shape of a bird would show up, then move and leave a trail. This bird is made with the help of curveVertex, it moves according to Perlin noise and it should save data of previous positions into the 'history'…
SwanPrince
  • 13
  • 2
-3
votes
1 answer

Python exponential curve fitting

I have added excel plot from which I get the exponential equation, I am trying to curve fit this in Python. My fitted equation is not as close to the empirical data i have provided when i use it to predict the y data, the prediction gives f(-25)=…
martin
  • 11
  • 2
-3
votes
1 answer

How can i create a stair step/curve?

How can I plot a stair curve/step in matlab? I think it should exist a special command to do this. See picture stair Step
Lin404
  • 21
  • 6
-3
votes
1 answer

Compare plots analytically / statistically

I created some plots of x1 and x2 with respect to y. My questions are: How can I compare Plot B with the reference data (Plot A)? What kind of analysis can I do to find out how well they match analytically or statistically? (Is there any algorithm…
askingtoomuch
  • 517
  • 7
  • 24
-4
votes
1 answer

Border line bottom curved top straight

I want to make a curved line between parts like here. Because if I now try to curve my borderline, the top also curves. I use nuxt.js and tailwind for css. I did not finish the code yet, but you can see where I want the lines. And I'm also checking…
Sam
  • 1
  • 1
-4
votes
1 answer

How to create this shape in CSS?

Is it possible to create this shape in CSS without using an svg? Basically a rectangle with an inverted curve on the bottom. Any help appreciated!
Josh
  • 110
  • 1
  • 7
-4
votes
1 answer

How to make labels to the axes in R?

I have some problem with curve3d. I have a following equation to be plotted: library(emdbook) curve3d ( 87.56 + 0.772*x - 0.022*x*y + 0.162*x^2) How to make labels to the axes with curve3d in R? And how I can rotate this plot?
TobiR
  • 207
  • 3
  • 11
-4
votes
2 answers

Matlab plot for exponential decay function

I have empirical data of 9 sets of patients the data looks in this format input = [10 -1 1 20 17956 1 30 61096 1 40 31098 1 …
Devak
  • 97
  • 1
  • 8
-4
votes
2 answers

invert a curve by his x axis

What would be the formula to rotate a curve by the x axis in java?
menemenemu
  • 209
  • 1
  • 2
  • 8
-5
votes
1 answer

What's Wrong in this Looping Code

Here is the problem: Constants: 'a', 'b', 'c', 'd'; I have a lot of variables, but only these are interconnected: 'x', 'y', 'z'; For first iteration 1 have: x1 = [value from other variables]; y1 = x1 + a; z1 = y1 + x1 + b; condition |c - z1| <…
gmk
  • 47
  • 1
  • 6
-11
votes
1 answer

CSS: Curved inverted clipping

I'm trying to clip an image like the curve here: I'm breaking my head over this, very much appreciated if someone could help me on the way. I'm pretty sure this can be done with css but if not, I'll probably end up using an svg image
joostdelange
  • 113
  • 11
1 2 3
86
87