Questions tagged [loglog]

65 questions
0
votes
1 answer

numpy loglog linear regression

What is the best way to find the linear regression of loglog data using numpy? When I plot the data and try A = np.vstack([np.log10(X), np.ones(len(X))]).T m, c = np.linalg.lstsq(A, np.log10(Y))[0] ax.plot(X, [m*x + c for x in X], 'r') where X and…
mikael
  • 2,097
  • 3
  • 18
  • 24
0
votes
0 answers

Curve Fitting plot matlab

The problem is quite simple : when i try to plot some exponential equation with the rest of the date, it shows and error "Vectors must be the same lengths" and i don't know how to remedy it. The data is: It works fine when i plot polynomial values …
Hammadzafar
  • 480
  • 1
  • 7
  • 21
-1
votes
1 answer

Log Log Plot - How to make sense of the axis

I am having a small issue making sense of a log-log plot. So if I create an x-y plot by the following: xx <- exp(1:10) yy <- exp(1:10) plot(xx,yy) The highest value is 22026.47. When I then plot it on as a log-log plot (this is purely a basic…
Matthew Oldham
  • 187
  • 1
  • 13
-1
votes
1 answer

Why are there only minor ticks for the y-axis in a log-log plot in Matplotlib?

I'm trying to make a pretty simple log-log plot in matplotlib. However, It seems as if I can get minor ticks on the y-axis, but for some matplotlib reason, not on the x-axis. I'd like ticks on all the axis (bottom, left, right and top) and to have…
npross
  • 1,756
  • 6
  • 19
  • 38
-1
votes
1 answer

Extrapolation in loglog plot in python

I am trying to extrapolate in a loglog plot in python. I did linear regression to fit the data with the best fit curve. Now I want to extend that best fit line to see how the slope goes with an extended range. My data is really big, so here is a…
bhjghjh
  • 889
  • 3
  • 16
  • 42
1 2 3 4
5