Organizing different plots of main effects plot (DOE) for different response variables inside the same Figure window.

4 次查看(过去 30 天)
I am trying to organize the plot resulting from maineffectsplot into a subplot array inside the same window, where each row would be the plot for each response variable. For example:
subplot(3,1,1)
maineffectsplot(response1,X1, .....)
subplot(3,1,2)
maineffectsplot(response2,X1, ....)
.....
It is not working as I know the maineffectsplot function contains subplots inside, and as far as I know doing a subplot inside a subplot is not possible. Any clue to fix this up?

回答(1 个)

Roshni Garnayak
Roshni Garnayak 2019-8-20
The “maineffectsplot” creates subplots depending on the number od ‘GROUP’ variables. Since it creates handles for the subplots, the subplots declared by you are overridden.
If you want to get all the plots in a single figure, you can plot them manually. You can also use ‘plotmatrix’ function.
For details about the ‘plotmatrix’ function, refer the following link:

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by