Python Forum
Stretching a curve and modifying it - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: Stretching a curve and modifying it (/thread-24141.html)



Stretching a curve and modifying it - IlikePi - Feb-01-2020

I have used numpy and matplotlib a little. Here is my challenge. I have about 5000 data points that make a parameter curve. The x values are time units and are evenly spaced and need to remain that way. I would like to view a graph of the data and using the mouse, I would like to pick a section of the graph and vertically modify it as needed. Redrawing and stretching the section with a smoothing option would be ideal. My ask is for someone to point me to something close and throw me some commands that I should investigate.