Boxplot correction for tikz export
Workaround for boxplots in combination with matlab2tikz(). As reported,
matlab2tikz fails to export boxplots correctly, mostly due to the quite
'special' implementation of boxplot() itself. The error "dimension too
large" will occur when compiling an automatically exported boxplot in
Latex due to a wrong positioning of the X-Tick-Labels. This short code
provides a solution through erasing the old labels and setting new ones
with correct positions.
Execute this before running matlab2tikz()...
Citar como
M H (2024). Boxplot correction for tikz export (https://www.mathworks.com/matlabcentral/fileexchange/48462-boxplot-correction-for-tikz-export), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspirado por: matlab2tikz/matlab2tikz
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.