From: Vaibhav on
Hello,
I wish to open two .fig figures on top of each other.
We can easily plot two plots in matlab on top of each other by using 'hold on'. This same thing I wish to apply for two stored figures in matlab.

Awaiting help ..

Many thanks,

V
From: Walter Roberson on
Vaibhav wrote:

> I wish to open two .fig figures on top of each other.
> We can easily plot two plots in matlab on top of each other by using
> 'hold on'. This same thing I wish to apply for two stored figures in
> matlab.

Figures are full windows with toolbars and all, and as best I recall at
the moment, figures cannot have a transparent background. Therefor if
you place two figures on top of each other, only the top one will be
visible. A figure can contain uicontrols, uipanels, axes, graphics, and
so on.

What you probably want to do is place the _graphical content_ of the two
figures on two of each other. In order to do that, create a new figure,
and use copyobj() to copy the desired graphical content from each of the
figures into the new figure.
From: Rune Allnor on
On 18 Mar, 15:21, "Vaibhav " <vaibhav_gan...(a)yahoo.com> wrote:
> Hello,
> I wish to open two .fig figures on top of each other.
> We can easily plot two plots in matlab on top of each other by using 'hold on'.

Correct. Which is why you want to

1) Generate the figures using scripts, as opposed to
manually interacting with the GUI
2) Store the data and scripts, not the figures, for later use.
Innstead of loading a .fig file, re-run the script.

It is trivial to reprouce, edit or combine figures or
plots if one works this way.

Rune