flot function for GNU Octave and Matlab