Add example and improve definition of flot