The boxplot labels disappeared after I set the Ytick

6 次查看(过去 30 天)
When I use the boxplot function and set multiple grouping variables, it works fine. But when I have set the YTick after the boxplot function, the labels are disappeared. If the number of boxplot is only 1 in a figure it won't happen, but if the number of boxplot is like 3*4, it happens every time. This problem won' happen on 2017a, but 2017b and 2018a.

回答(1 个)

Jonas
Jonas 2021-4-18
i had a similar problem when I generated a boxplot with logarithmic y-axis in Matlab 2021b. Originally I wanted to set the y-ticks using 'ax=gca' after the creation of the boxplot and then setting ax.YTick=10.^(-50:5:0).
The problem did not appear if i assigned the y-ticks using the function yticks()

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by