Trouble Changing Graph Scales
I have been trying to adjust the X and Y scale of the graph so that i can have a noticeable distinction between data point values. However, the Y coordinates range from 0.20 to 0.45 which displays almost a perfect straight line across my graph. Is there a way that I can set the Y axis to +1/-1 and the X axis to 0/+1025? Also is there a better way to center the data in the middle of the graph in order to better view the fluctuations?
Dim xOne, yOne, xTwo, yTwo As Object
Dim penColor As New Pen(Color.Red, 0.01)
xTwo = 0
yTwo = 75 'center line in middle of graph
For I = 1 To 1024
xOne = I
yOne = Y - Voltage(I) + 75 'Public Voltage(5000) As Single
WavGraph.CreateGraphics.DrawLine(penColor, xTwo, yTwo, xOne, yOne)
xTwo = xOne
yTwo = yOne
Next I
[919 byte] By [
Mr. Wok] at [2007-11-11 10:17:26]
