Rearrange DoE main effects plot
7 views (last 30 days)
Show older comments
Hi,
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,
Arnau
0 Comments
Answers (1)
Tom Lane
on 20 Jul 2015
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')
plotSlice(lm)
Also, the plotEffects function is another way to compare main effects in a linear model.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!