Code example for Vector

Methods: removeAllElements

0
			reset(); 
		plotmode = mode;
	} 
 
	private void reset(){ 
  		PlotLines.removeAllElements();
  		minx=Double.POSITIVE_INFINITY;
  		maxx=Double.NEGATIVE_INFINITY;
  		miny=Double.POSITIVE_INFINITY;
  		maxy=Double.NEGATIVE_INFINITY;
   		Xlabel  = null;
  		Ylabel  = null;
  		Tlabel  = null;
	} 
 
	public void addLine(Object[] params) throws JasymcaException{  
		if (!Hold_b){	reset();	}	
  	 
		for (int i=0;i<params.length;){
			PlotLine line=new PlotLine(); // New Line