How to fix table display/alignment in command window
23 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jim Hokanson
il 20 Mar 2024
Risposto: Jim Hokanson
il 20 Mar 2024
MATLAB seems to format printing of tables poorly on macs.
Here's a simple example using 2023b on my M1 mac:
dt = datetime('now');
dt2 = datetime('now');
test = "test";
t = table(dt,dt2,test)
The result looks like this. Note the poor column alignment. Also if you try and select the column names the text bolding disappears and the letters shift slightly, especially ones further to the right (hard to see in this example, but noticeable with longer tables).
In contrast this is what it looks like on Windows, nice and aligned!
Is there a setting to toggle to fix this? If not any chance this can get fixed before the official 2024a release (haven't tried the prerelease). I'll note I upgraded to 2023b from 2022a? or some older version to see if that fixed the problem (above example is from 2023b so the newer version did not fix the problem).
2 Commenti
Steven Lord
il 20 Mar 2024
What font are you using for Command Window? Follow the instructions on this documentation page to determine which font you're using.
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Environment and Settings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!