Rearrange DoE main effects plot

7 vues (au cours des 30 derniers jours)
Arnau Perdigo
Arnau Perdigo le 15 Juil 2015
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

Réponses (1)

Tom Lane
Tom Lane le 20 Juil 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.

Community Treasure Hunt

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

Start Hunting!

Translated by