vis_files/generate_plots.js
/// Plots information about a selected equation
Plots information about a selected equation
Plots information about a selected equation
function seleq_info(x,y,wid)
{	
	addbutton("Parameter name",x,y,0,seltabledy,-1,NORMTABLEHEADBUT,-1,-1);
	taby_slidefrac = sellinemax/seleq.length; 
	if(taby_slidefrac < 1){	
		addbutton("",x+wid,y+seltabledy,10,sellinemax*seltabledy,TABYSLIDEBUT,TABYSLIDEBUT,-1,-1);
	}
	var rowmin = Math.floor(taby_slide*seleq.length*1.001);
	var rowmax = rowmin + sellinemax; 
	if(rowmax > seleq.length) rowmax = seleq.length;
	for(row = rowmin; row < rowmax; row++){
		var yy = y+seltabledy*(row-rowmin+1);
		addbutton(seleq[row],x,yy,wid,seltabledy,-1,NORMTABLEBUT,-1,-1);
	}
}
function seleq_info ( x , y , wid ) { addbutton ( "Parameter name" , x , y , 0 , seltabledy , - 1 , NORMTABLEHEADBUT , - 1 , - 1 ) ; taby_slidefrac = sellinemax / seleq . length ; if ( taby_slidefrac < 1 ) { addbutton ( "" , x + wid , y + seltabledy , 10 , sellinemax * seltabledy , TABYSLIDEBUT , TABYSLIDEBUT , - 1 , - 1 ) ; } var rowmin = Math . floor ( taby_slide * seleq . length * 1.001 ) ; var rowmax = rowmin + sellinemax ; if ( rowmax > seleq . length ) rowmax = seleq . length ; for ( row = rowmin ; row < rowmax ; row ++ ) { var yy = y + seltabledy * ( row - rowmin + 1 ) ; addbutton ( seleq [ row ] , x , yy , wid , seltabledy , - 1 , NORMTABLEBUT , - 1 , - 1 ) ; } }
Plots information about a selected equation
Plots information about a selected equation