MATLAB: How can i update the type of axis in the GUI

axes updatecallbackguiupdate axis

For example i use two pushbuttons to plot data. one pushbutton callback uses 'semilogx' function and other pushbutton uses only 'plot' function Now the problem is .it displays semilogx plot and does not update for next press of button which uses plot functin…