Skip to main content
2 of 2
added 45 characters in body
Vitaliy Kaurov
  • 73.4k
  • 9
  • 206
  • 365

Removing linear trend, as suggested in comments, is almost a one-liner (check out, Fit, FindFit, LinearModelFit):

data=Import["https://pastebin.com/raw/aWYk1Jba"];
lm=LinearModelFit[data,x,x];
ListLinePlot[Transpose[{data[[All,1]],lm["FitResiduals"]}],
PlotLabel->lm["BestFit"],PlotTheme->"Detailed"]

enter image description here

Vitaliy Kaurov
  • 73.4k
  • 9
  • 206
  • 365