Effacer les filtres
Effacer les filtres

Why isn't the display of tables, datasets, etc., aligned by decimal point?

3 vues (au cours des 30 derniers jours)
Roberto Osorio
Roberto Osorio le 22 Nov 2013
That's what good typography, common sense, and logic tells me. If I have a vector [3.14, 6.28, 7.50], the use of two decimal digits tells me that the last zero is not just a filler. So, I cringe when I see
>> table([3.14,6.28,7.50]')
ans =
Var1
____
3.14
6.28
7.5
Matlab shouldn't omit the last zero. If it insisted in doing so, it should at last align the decimal point of the last entry with those of the previous rows. This would go a long way in helping the reader compare each number with the others in the table. Is this just an overlook or a difficult implementation issue?

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by