There are several graphs built with different steps. How to put them in one to the output was 5 points? The ranges they intersect, but the points are different. For example, 1 point plot: [1:1, 2: 2, 3:3, 4:4, 5:5], 2nd: [0.5:2, 1.7:3, 2.9:5, 4.1:7] .

Closed due to the fact that the essence of the question is not clear to the participants 0xdb , Kromster , Viktor Tomilov , Edward , HamSter Mar 5 '18 at 15:08 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • in look. I combined - [1:1, 2: 2, 3:3, 4:4, 5:5,0.5:2, 1.7:3, 2.9:5, 4.1:7] : D what is your problem? what is it all about? - teran
  • you need to bring to the same number of points (to 5) - Sobenko Vlad
  • Formulate for yourself first - how should this cast be fulfilled? Interpolation, trimming, rounding, somehow ... Draw on the piece of paper the desired result, and then, if there are ambiguities, ask a question. - Kromster
  • Fit the points, get the function, and then simply. - post_zeew

0