Skip to content

Commit f73460f

Browse files
committed
up
1 parent 1d1437c commit f73460f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BioRadarv2/src/script/timeSpaceModel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ d3.TimeSpace = function () {
448448
// far = graphicopt.width/2*10;
449449
// camera = new THREE.OrthographicCamera(graphicopt.width / - 2, graphicopt.width / 2, graphicopt.height / 2, graphicopt.height / - 2, near, far + 1);
450450
scene = new THREE.Scene();
451-
axesHelper = createAxes( graphicopt.widthG()/4 );
451+
axesHelper = createAxes( graphicopt.width/4 );
452452
axesTime = createTimeaxis();
453453
scene.background = new THREE.Color(0xffffff);
454454
scatterPlot = new THREE.Object3D();

BioRadarv2/src/script/worker/PCAworker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function render(sol,axis,dim){
6262
axis.push({x1:xrange[0],y1:yrange[0],z1:0,x2: xrange[0],y2:yrange[1],z2:0,name:'PC2',scale:1});
6363
}else{
6464
axis.push({x1:0,y1:0,z1:0,x2: (xrange[1]-xrange[0])/2,y2:0,z2:0,name:'PC1',scale:1});
65-
axis.push({x1:0,y1:0,z1:0,x2: 0,y2:(yrange[1]-yrange[0])/2,z2:0,name:'PC2',scale:1});
65+
axis.push({x1:0,y1:0,z1:0,x2: 0,y2:(xrange[1]-xrange[0])/2,z2:0,name:'PC2',scale:1});
6666
axis.push({x1:0,y1:0,z1:0,x2: 0,y2:0,z2:(xrange[1]-xrange[0])/2,name:'PC3',scale:1});
6767
}
6868
postMessage({action:'render',value:{totalTime:performance.now()-totalTime_marker},xscale:{domain:xscale.domain()}, yscale:{domain:yscale.domain()}, sol:sol});

0 commit comments

Comments
 (0)