How to adjust the accuracy in graphs ?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Imene Yed
am 26 Jun. 2021
Kommentiert: Imene Yed
am 27 Jun. 2021
Hi,I plot a graph ,I Wan to display on the graph on each (X,Y) couple, the real value of X ,I mean for exemple my data is like X=388.234565 ,
in the graph matlab just display the first number after the comma 388.2 which decrease the accuracy of my analysis .is it possible to dissplay the real values of X with several numbers after comma.
0 Kommentare
Akzeptierte Antwort
Chunru
am 26 Jun. 2021
h = plot(rand(10,1));
h.DataTipTemplate.DataTipRows(1).Format = '%.6f'; % first line of datatip
datatip (h,'DataIndex',3); % datatip at 3rd point
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Annotations 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!