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

10 ビュー (過去 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';

採用された回答

Walter Roberson
Walter Roberson 2017 年 12 月 5 日
編集済み: Walter Roberson 2017 年 12 月 5 日
app.UIAxes.XAxis.TickLabelFormat = '%.3f';
app.UIAxes.YAxis.TickLabelFormat = '%.3f';
  4 件のコメント
Robert Hamill
Robert Hamill 2019 年 6 月 21 日
This Exponent suppression helped me. Thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Objects についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by