[Scopeapp-cvs]scopeapp/src XYPlotView.m,1.12,1.13
Status: Alpha
Brought to you by:
narge
From: <sco...@li...> - 2003-11-16 07:00:20
|
Update of /cvsroot/scopeapp/scopeapp/src In directory sc8-pr-cvs1:/tmp/cvs-serv26460/src Modified Files: XYPlotView.m Log Message: Fixed trivial scaling bug, something still seems wrong though Index: XYPlotView.m =================================================================== RCS file: /cvsroot/scopeapp/scopeapp/src/XYPlotView.m,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** XYPlotView.m 14 Feb 2003 11:57:33 -0000 1.12 --- XYPlotView.m 16 Nov 2003 06:59:37 -0000 1.13 *************** *** 106,110 **** curX = 0.5 + (myDisplayData[0][0] * theScaleFactor[0]); ! curY = 0.5 + (myDisplayData[1][0] * theScaleFactor[0]); [myTracePaths[0] addPoint: NSMakePoint(curX, curY)]; --- 106,110 ---- curX = 0.5 + (myDisplayData[0][0] * theScaleFactor[0]); ! curY = 0.5 + (myDisplayData[1][0] * theScaleFactor[1]); [myTracePaths[0] addPoint: NSMakePoint(curX, curY)]; *************** *** 114,118 **** { curX = 0.5 + (myDisplayData[0][curSample] * theScaleFactor[0]); ! curY = 0.5 + (myDisplayData[1][curSample] * theScaleFactor[0]); [myTracePaths[0] addPoint: NSMakePoint(curX, curY)]; } --- 114,118 ---- { curX = 0.5 + (myDisplayData[0][curSample] * theScaleFactor[0]); ! curY = 0.5 + (myDisplayData[1][curSample] * theScaleFactor[1]); [myTracePaths[0] addPoint: NSMakePoint(curX, curY)]; } |