Rearrange DoE main effects plot

6 Ansichten (letzte 30 Tage)
Arnau Perdigo
Arnau Perdigo am 15 Jul. 2015
Beantwortet: Tom Lane am 20 Jul. 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

Antworten (1)

Tom Lane
Tom Lane am 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.

Community Treasure Hunt

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

Start Hunting!

Translated by