Figure の データヒントの有効数字が6桁より大きくする方法
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
figure の データヒントを表示する際に有効数字が6桁以下になってしまいます。
7桁以上表示する方法はあるのでしょうか。
また、画面上に選択した点のデータを表示する方法でデータヒント以外の方法はあるのでしょうか。
0 commentaires
Réponse acceptée
Hernia Baby
le 7 Avr 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 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!