Figure の データヒントの有効数字が6桁より大きくする方法
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
久之助 三宅
am 7 Apr. 2022
Kommentiert: 久之助 三宅
am 7 Apr. 2022
figure の データヒントを表示する際に有効数字が6桁以下になってしまいます。
7桁以上表示する方法はあるのでしょうか。
また、画面上に選択した点のデータを表示する方法でデータヒント以外の方法はあるのでしょうか。
0 Kommentare
Akzeptierte Antwort
Hernia Baby
am 7 Apr. 2022
dataTipTextRow を調整すればできます
Fs = 256;
t = 0:1/Fs:1;
x = sin(2*pi*t);
p = plot(t,x);
datatip(p,0.4297,0.4276);
p.DataTipTemplate.DataTipRows(1).Format = '%.9f';
p.DataTipTemplate.DataTipRows(2).Format = '%.9f';
datatip(p,0.4297,0.4276);
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu グラフィックス オブジェクトのプロパティ finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!