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
조회 수: 4 (최근 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';
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167230/image.jpeg)
댓글 수: 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!