Hello,
is it possible to adjust row height in tilled layout? I have six plots in tiled layout (2×3). Each of them has own legend. In first and second plot there is 6 items, but in next plots there is only one item to display in legend.
The problem is that all tiles has the same size so there is large space between second and last row. Is it possible to change it?
X = 0:0.01:2*pi;Y = sin(X);tiledlayout(3, 2)nexttilehold onplot(X, Y, "DisplayName",'A1')plot(X, Y, "DisplayName",'A2')plot(X, Y, "DisplayName",'A3')plot(X, Y, "DisplayName",'A4')plot(X, Y, "DisplayName",'A5')plot(X, Y, "DisplayName",'A6')legendnexttilehold onplot(X, Y, "DisplayName",'A1')plot(X, Y, "DisplayName",'A2')plot(X, Y, "DisplayName",'A3')plot(X, Y, "DisplayName",'A4')plot(X, Y, "DisplayName",'A5')plot(X, Y, "DisplayName",'A6')legendnexttilehold onplot(X, Y, "DisplayName",'A1')legendnexttilehold onplot(X, Y, "DisplayName",'A1')legendnexttilehold onplot(X, Y, "DisplayName",'A1')plot(X, Y, "DisplayName",'A2')plot(X, Y, "DisplayName",'A3')plot(X, Y, "DisplayName",'A4')legendnexttilehold onplot(X, Y, "DisplayName",'A1')plot(X, Y, "DisplayName",'A2')plot(X, Y, "DisplayName",'A3')plot(X, Y, "DisplayName",'A4')legend
Best Answer