The values are floating point numbers and can be negative. What I would like to do is make them fit into an interval ( in my case it's [ 0 ; 400 ] ).
To give more details about my problem, I have two samples of x and y coordinates and I want to draw each point on a graph. I want to keep the ratio because it's supposed to represent a movement in function of time.
How do I proceed? Normalizing the normal way ( with this method ) will make an object that stood still ( with a few noise ) look like this when I track its movement. Take a look at the bottom 3 graphs which represent a view from the side ( the camera is on the X axis ) from the front ( Y ) and from the top ( Z )
Thank you