vis_files/init.js
/// Initialises canvas objects for plotting the results 
Initialises canvas objects for plotting the results
Initialises canvas objects for plotting the results
function init_canvas()
{
	myc = ById("myCanvas");
	maincv = myc.getContext("2d");
	cv = maincv;
	graphcan = document.createElement('canvas');
  graphcv = graphcan.getContext('2d');
	resultcan = document.createElement('canvas');
  resultcv = resultcan.getContext('2d');	
}
function init_canvas ( ) { myc = ById ( "myCanvas" ) ; maincv = myc . getContext ( "2d" ) ; cv = maincv ; graphcan = document . createElement ( 'canvas' ) ; graphcv = graphcan . getContext ( '2d' ) ; resultcan = document . createElement ( 'canvas' ) ; resultcv = resultcan . getContext ( '2d' ) ; }
Initialises canvas objects for plotting the results
Initialises canvas objects for plotting the results