Updated plots text()

Call sfigure() instead of figure() to do plotting (WIP-does not solve octave crash issue)