Clear Filters
Clear Filters

Cant Remove Axis Labels

116 views (last 30 days)
ImageProcessor
ImageProcessor on 4 Apr 2016
Commented: ImageProcessor on 5 Apr 2016
I know this is a very common question, and I tried many answers given, setting Xtick to [], XTickLabel, YTick, YTickLabel etc...but still not working. Can someone please tell me how to remove the axes labels, cause they are interfering with the image I am diplaying on the axes. Would appreciate a hint !

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 4 Apr 2016
t=1:10
y=t.^2
plot(t,y)
set(gca,'xtick',[])
  9 Comments
Walter Roberson
Walter Roberson on 4 Apr 2016
What turned out to be the problem?
ImageProcessor
ImageProcessor on 5 Apr 2016
Was a minor syntax problem from my side. Plus some other changes.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!