How can i change my axis on a plot to be fix numbers with 3 decimal places? Right now my x axis or y axis are 6.21321e6 but i want it to be fix like 42141321.323
1 次查看(过去 30 天)
显示 更早的评论
X = [ XW1, XPKP1, XKKP1, XSLK, XKKP2, XPKP2,XW3];
Y = [YW1,YPKP1, YKKP1, YSLK, YKKP2, YPKP2,YW3];
app.UIAxes.Visible ='on';
plot(app.UIAxes,Y,X,'*-');
app.SzkicButton.Enable= 'off';
0 个评论
采纳的回答
Walter Roberson
2017-12-5
编辑:Walter Roberson
2017-12-5
app.UIAxes.XAxis.TickLabelFormat = '%.3f';
app.UIAxes.YAxis.TickLabelFormat = '%.3f';
4 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!