smoothing Questions

3

Solved

I have a dataset that I want smoothed. I have two variables y and x that are not evenly spaced. y is the dependant variable. However, I do no know what formula relates x to y. I read all about in...
Vegetarianism asked 4/3, 2015 at 13:39

7

Solved

How to smooth the edges of this binary image of blood vessels obtained after thresholding. I tried a method somewhat similar to this method but did not quite get the result I expected. Here...
Outdoors asked 24/5, 2016 at 9:40

7

I have a 3D sensor which measures v(x,y,z) data. I'm only using the x and y data. Smoothing only x and y would be enough. If I use a log to show the data, it shows me something like this: (time) ...
Indefinite asked 6/1, 2011 at 3:57

3

So far none of the threads here on smooth lines are correct. how to draw smooth curve through N points using javascript HTML5 canvas? Smooth user drawn lines in canvas Both result in jagged line...
Gunzburg asked 25/10, 2011 at 15:31

3

Im trying to smooth a graph line out but since the x-axis values are dates im having great trouble doing this. Say we have a dataframe as follows import matplotlib.pyplot as plt import numpy as n...
Kaleidoscope asked 12/11, 2016 at 5:46

3

Solved

If I had an array of numbers such as [3, 5, 0, 8, 4, 2, 6], is there a way to “smooth out” the values so they’re closer to each other and display less variance? I’ve looked into windowing the data...
Fagin asked 25/9, 2015 at 18:53

1

Solved

I have a database P with columns X, Y and Z: x=0:1:50; r=3.*rand(1,51); P=[cos(x')+r',sin(x')+r',sin(x'+r').*cos(x')+r']; P = sortrows(P,[1,2]); N = 500; xv = linspace(min(P(:,1)), max(P(:,1)), N);...
Fonseca asked 20/10, 2022 at 15:42

12

Lets assume we have a dataset which might be given approximately by import numpy as np x = np.linspace(0,2*np.pi,100) y = np.sin(x) + np.random.random(100) * 0.2 Therefore we have a variation of...
Passageway asked 16/12, 2013 at 19:6

14

Solved

On a RecyclerView, I am able to suddenly scroll to the top of a selected item by using: ((LinearLayoutManager) recyclerView.getLayoutManager()).scrollToPositionWithOffset(position, 0); However, ...
Telencephalon asked 5/7, 2015 at 21:30

15

Solved

How do I get the exponential weighted moving average in NumPy just like the following in pandas? import pandas as pd import pandas_datareader as pdr from datetime import datetime # Declare variab...
Wagonette asked 18/3, 2017 at 1:36

4

Solved

I am attempting to understand how the predict.loess function is able to compute new predicted values (y_hat) at points x that do not exist in the original data. For example (this is a simple exampl...
Maximin asked 10/10, 2012 at 14:40

2

Solved

Let's assume a sequence of points. If I would like to plot a smooth curve through these points, I thought the plot option smooth would do the job. From help smooth: Syntax: smooth {unique | frequ...
Outvote asked 3/9, 2021 at 8:14

1

Solved

I'm trying to create a smoothed map for a number of points in R, and I did not find a perfect solution here. library(mapchina) library(sf) library(dplyr) library(ggplot2) # Create some sample data...
Neutrino asked 3/8, 2021 at 22:41

8

Solved

I've got the following simple script that plots a graph: import matplotlib.pyplot as plt import numpy as np T = np.array([6, 7, 8, 9, 10, 11, 12]) power = np.array([1.53E+03, 5.92E+02, 2.04E+02, ...
Radiolocation asked 12/3, 2011 at 16:6

2

Solved

I'd like to know how to fill the area between to loess-smoothed lines in ggplot. The following data frame is used for the pictures: x y ymin ymax grp ydiff 1 1 3.285614 3.285614 10.14177 min 6.8...
Ritualist asked 28/10, 2013 at 19:15

3

Solved

This is my first time using BSpline, and I want to fit a curve to my data points. I've tried using Univariate Spline and attempted to use splev and splrep but I'd really like to learn how to do thi...
Francesco asked 19/7, 2017 at 0:15

2

Solved

How can I plot the following noisy data with a smooth, continuous line without considering each individual value? I would like to only show the behavior in a nicer way, without caring about noisy a...
Cochabamba asked 7/4, 2014 at 13:19

3

Solved

I have two lists of data points: list_x = [-10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30...
Lens asked 8/10, 2017 at 16:44

4

Solved

I have 2 lists with data points in them. x = ["bunch of data points"] y = ["bunch of data points"] I've generated a graph using matplotlib in python import matplotlib.pyplot as plt plt.plot(x,...
Spade asked 2/6, 2016 at 17:56

4

Solved

I´m trying to load some STL files using Three.js. The models are loaded correctly, but there are too many triangles that I would like to merge/smooth. I had successfully applied smooth loading te...
Matchmaker asked 1/2, 2016 at 17:9

3

I am following this link to do a smoothing of my data set. The technique is based on the principle of removing the higher order terms of the Fourier Transform of the signal, and so obtaining a smoo...
Fibrilliform asked 15/4, 2014 at 8:4

0

I am modelling fish depth in a river based on acoustic tag detections (meaning the data are not exactly a perfectly spaced continuous time series). I predict that depth will differ based on spatial...
Clemons asked 3/3, 2021 at 17:20

2

I am trying to understand the different behaviors of these two smoothing functions when given apparently equivalent inputs. My understanding was that locpoly just takes a fixed bandwidth argument, ...
Tedmann asked 2/2, 2015 at 16:16

1

Solved

This is probably a very basic question but I haven't found an answer yet. Is there an equivalent to the span argument in the geom_smooth function when method = "gam"? I am not familiar wi...
Wb asked 22/12, 2020 at 9:10

2

I tried GGally package a little bit. Especially the ggpairs function. However, I cannot figure out how to use loess instead of lm when plot smooth. Any ideas? Here is my code: require(GGally) diam...
Colicroot asked 26/3, 2014 at 19:54

© 2022 - 2024 — McMap. All rights reserved.