Removing Xaxis and Yaxis values
640 views (last 30 days)
Show older comments
Waseem Hussain
on 3 Nov 2017
Answered: DanielFromIllinois
on 11 Mar 2025
Hey I have plotted a graph but I want to remove the values on the axis, I don't want the numbers to show
0 Comments
Accepted Answer
More Answers (1)
DanielFromIllinois
on 11 Mar 2025
set(ax,'xticklabel',[])
You can also use set(ax,'XTick',[]) but then you lose the ability to still turn the xgrid on. The grid will draw lines at your ticks specified by 'XTick'.
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!