Prev: Referencing stateflow lib inside another stateflow?
Next: How to open two .fig figures on top of each other
From: Vaibhav on 18 Mar 2010 10:21 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 18 Mar 2010 12:59 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 18 Mar 2010 13:34
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 |