The boxplot labels disappeared after I set the Ytick
Show older comments
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.
Answers (1)
Jonas
on 18 Apr 2021
0 votes
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()
Categories
Find more on Axis Labels in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!