hamid zolfaghari
hamid zolfaghari

Reputation: 71

Switch off the labels on axes

I'm using axes1 on a GUI to show images in. However, I don't know how to make the labels on axes1 invisible.
Any ideas?

Upvotes: 2

Views: 2396

Answers (1)

Andrey Rubshtein
Andrey Rubshtein

Reputation: 20915

Just set the XTick and YTick property:

a = axes(); plot(1:10,1:10);
set(a,'XTick',[],'YTIck',[])

Upvotes: 1

Related Questions