how to create one size fits boxplot figures ?
显示 更早的评论
I wrote code but the problem is the size of subplots is different how can i create the same size for all subplots. The figure below show the high of plots is differnent.

How to resize the subplots ?
for i = 1:numel(dataA)
% plot boxplot of circuit 1 to circuit 7 and the aggregtae power for Line 1
subplot(3,3,i) % create the sub-plot with 3 rows and 3 columns
boxplot(dataA{i},'Labels',{'3','5','7','9','11','13','15'})
xlabel({'Harmonic Order'})
ylabel({'% of fundimental'})
title(titles{i})
h=findobj('LineStyle','--'); set(h, 'LineStyle','-');
grid, grid minor
end
This is the code, in which line and what is the code shoud be written?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
