how to create one size fits boxplot figures ?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!