"chairat Kraichan" <firstname.lastname@example.org> wrote in message news:email@example.com... > if I have many figure with this command > for 1:x > figure(x); > end > so my figure will run out. If I want to plot figure(1) to figure (x) with > unique figure as figure(x+1). > What is the command of my question?
First, I would question whether you need to have all x figures open simultaneously. If you don't, create the figure BEFORE the FOR loop and use CLF to reset the figure back to its clean state at the end of each iteration.
You cannot have a figure contained inside another figure. You cannot have an axes contained inside another axes. You cannot have a figure contained inside an axes. You CAN have one _or more_ axes contained inside one figure.
If that last scenario describes what you're trying to do, look at the SUBPLOT function.