Search code examples
matlabgraphpropertiesaxes

Axes Properties - Matlab


I need to know how to remove the numbers from X and Y axes. I'm don't think this is related to the X grid or Y grid because in the axes Inspector the XGrid and YGrid is in off state.

enter image description here

I tried all but it did not help.

edit: enter image description here

thanks...


Solution

  • A simpler solution is

    axis off
    

    but it comes with a caveat: it also removes the x and y labels. So if you wanted to include labels and remove only the numbers, nibot's answer is the correct way to go.