fix small bug for error bar plots
fix bug when imagesAsPng is false
don't use handle() for Octave
accommodate for MATLAB's error bar inconsistencies
add documentation for 'floatFormat'
if -> elseif
account for empty ticklabels
renamed extraTikzpictureCode to extraCode and insert content at beginning of file