public boolean removeAxis(Axis axis){
  remove(axis);
  plotArea.removeGrid(axis.getGrid());
  revalidate();
  if (axis.isHorizontal())   return xAxisList.remove(axis);
 else   return yAxisList.remove(axis);
}

public boolean removeAxis ( Axis axis ) { remove ( axis ) ; plotArea . removeGrid ( axis . getGrid ( ) ) ; revalidate ( ) ; if ( axis . isHorizontal ( ) ) return xAxisList . remove ( axis ) ; else return yAxisList . remove ( axis ) ; }
remove an axis from the graph
