Quote>"If you just multiply all the values by 8/7 it should work."
Yes that could work but that's for one specific peak.
I need a way of simply giving my program the value of the desired peak of the graph and the program should go and generate all the data values for each ms, that would...
Yea normally you could do that but this graph is being represented in a computer program, the picture is just for illustration. The graph in the computer is stored in an array with 140 slots; each slot representing 1ms which would hold one of the data point values.
http://www.clearandblue.com/graph.GIF
I have a graph shown above however I want to adjust the height of the graph (where it reaches -70 @ 20ms) whilst still preserving the general shape of the graph. The problem is that I need to know the values of the data points at every 1ms interval...