anchor.diff:              return "translate(" + margin + "," + margin + ")";
           })
           .call(yAxis);
  -	//设置散点图y轴名字
  -	$("#scatterplotYname").text(yName);
  +
   }   
   <!--数据轮换显示按钮变化-->        
   function rescale(){
  
positive.code: 	ymax=d3.max(data.y)+5;
  	xName=data["xName"];
  	yName=data["yName"];
  	
  }
  <!--数据转换函数-->	
  
negative.code: <script type="text/javascript" src="js/d3.js"></script>
  <script type="text/javascript">
  <!--以下为生成散点图的代码-->
  //初始化数据
  var dataXY={
  	x:[45,59,33,81,77,26,19,55,50,34,99,61,38,72,59,25],
  	y:[25,36,19,45,42,23,16,38,32,22,48,42,29,36,29,17],
  	xName:"测试1X轴（单位）",
  	yName:"测试1y轴（单位）",
  	p:0,
  	r:0,
  	alpha:0.05};
  var dataXY1={
  	x:[10,20,30,40,50,60,70,80],
  	y:[10,20,30,40,50,60,70,80],
  	xName:"测试2X轴（单位）",
  	yName:"测试2y轴（单位）",
  	p:0,
  	r:0,
  	alpha:0.05};
  var dataXY2={
  	x:[10,20,30],
  	y:[30,20,10],
  	xName:"测试3X轴（单位）",
  	yName:"测试3y轴（单位）" ,
  	p:0,
  	r:0,
  	alpha:0.05};
  	
  var dataXYArray=[dataXY,dataXY1,dataXY2];
  var arrayNumber=0;
  var xmin=0;
  