Rearrange DoE main effects plot

12 ビュー (過去 30 日間)
Arnau Perdigo
Arnau Perdigo 2015 年 7 月 15 日
回答済み: Tom Lane 2015 年 7 月 20 日
I have a full factorial Design of Experiments with 12 factors at various levels (2-5). When it comes to assessing the main effects plots, because they are all laid out in a single row of a figure, I can't look at the data properly. Is it possible to rearrange these subplots into a 3x4 grid? Or even better, plot them in separate figures?
Many thanks and kind regards,

回答 (1 件)

Tom Lane
Tom Lane 2015 年 7 月 20 日
I can't think of an easy way to make the plots have a different arrangement.
I'm guessing you are using rstool, is that right? If you use fitlm and the plotSlice function, then there is a Predictors menu to select the predictors to plot. You could run plotSlice multiple times to select different subsets of the predictors for the separate figures. The plots are disconnected, though, so changing a predictor in one plot would not affect the other plots.
load hald
lm = fitlm(ingredients,heat,'interactions')
Also, the plotEffects function is another way to compare main effects in a linear model.

Community Treasure Hunt

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

Start Hunting!

Translated by