bug? cant change the format of an array variable column
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
James Upton
am 20 Jul. 2019
Kommentiert: Star Strider
am 20 Jul. 2019
I have imported data from xls into a double array variable called price,I have gone onto the variable window to change the format of the column to short fixed decimal however the format of the column does not change, some values are still scientific looking. I have tried the code format short but this only fixes the command window results, my issue is when I plot the price on a chart it shows the scienfific scale and not the actual numbers, I have tried ytickformat('%.2f') but this does not work for me. What am I doing wrong?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 20 Jul. 2019
set(gca, 'Exponent',2)
may work.
Experiment to get the result you want.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Descriptive Statistics and Visualization 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!