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

8 views (last 30 days)
Jairo Andrés Gutiérrez Suárez
Answered: Roshni Garnayak on 20 Aug 2019
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:
maineffectsplot(response1,X1, .....)
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?

Answers (1)

Roshni Garnayak
Roshni Garnayak on 20 Aug 2019
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:




Community Treasure Hunt

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

Start Hunting!