Boxplot correction for tikz export

Workaround to export boxplots correctly with matlab2tikz()

您现在正在关注此提交

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()...

引用格式

M H (2026). Boxplot correction for tikz export (https://ww2.mathworks.cn/matlabcentral/fileexchange/48462-boxplot-correction-for-tikz-export), MATLAB Central File Exchange. 检索时间: .

致谢

参考作品: matlab2tikz/matlab2tikz

类别

Help CenterMATLAB Answers 中查找有关 Large Files and Big Data 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.1.0.0

-

1.0.0.0