Thanks. Great function, works well.
My only complaint is that line 136:
causes a figure's 'Visible' property to be set to 'on' (I had turned it off to save time and resources). A better solution might be:
which updates the current axis without changing the state of the parent figure, as documented in the help file for the "axes" command (doc axes). I don't know how that will affect the order of the figure's 'Children' property though.
As Kris Thielemans points out, if you specify a Y offset without specifying an X offset, the value will be applied to the title's X offset. The user can circumvent the bug by specifying a 0 offset for x in the command call. The bug can be fixed in the code by moving line 155 ("io=io+1;") in the "get_off" function to before the if statement (say to a new line 154).