How to label X axis in the form of characters?
2 次查看(过去 30 天)
显示 更早的评论
Hi,
How to label X axis in the form of characters.
Regards,
siva
2 个评论
采纳的回答
Richard
2012-3-28
set(gca,'XTickLabel',{'data point 1','data point 2'});
where data point 1 and data point 2 will become the name of that particular xlabel. You need to have the number of strings to be equal to the number of points.
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 View and Analyze Simulation Results 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!