How to fix table display/alignment in command window
22 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Jim Hokanson
el 20 de Mzo. de 2024
Respondida: Jim Hokanson
el 20 de Mzo. de 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 comentarios
Steven Lord
el 20 de Mzo. de 2024
What font are you using for Command Window? Follow the instructions on this documentation page to determine which font you're using.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Environment and Settings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!