when plot function f(x) in matlab, example, sine function, graph this: i want plot in rather different way, such this, generated mathematica: note axes position (together ticks), , x , y labels position. any appreciated. because not readers have latest version of matlab, decided make answer little bit more general, it's function, input handle figure manipulate, , sets origin in center: function axesorigin(figureh) % set origin of 2-d plot center of axes figureh.color = [1 1 1]; % original properties: del_props = {'clipping','alignvertexcenters','uicontextmenu','busyaction',... 'beingdeleted','interruptible','createfcn','deletefcn','buttondownfcn',... 'type','tag','selected','selectionhighlight','hittest','pickableparts',... 'annotation','children','parent','visible','handlevisibility',...