Rearrange DoE main effects plot

조회 수: 3 (최근 30일)
Arnau Perdigo
Arnau Perdigo 2015년 7월 15일
답변: Tom Lane 2015년 7월 20일
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

답변 (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')
plotSlice(lm)
Also, the plotEffects function is another way to compare main effects in a linear model.

카테고리

Help CenterFile Exchange에서 Design of Experiments (DOE)에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by