开发者

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.

Axes Properties - Matlab

I tried all but it did 开发者_运维知识库not help.

edit:

Axes Properties - Matlab

thanks...


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.


set(gca, 'XTick', [], 'YTick', [])
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜