Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I have a code that produces an Animate graphic and two Plots in a Grid. I am able to export the Animate graphic using .avi, but do not know how or if its possible to export these together in one file. I have tried using

Export["animate1.avi",Grid[a1,a2]]

as it was the only thing I could think of that might work, but it didn't. Also looked through the documentation and StackExchange boards and couldn't find anything...

Is this possible to do? And, if so, how is it done?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Try some thing like this:

plot = Animate[
  Grid[{{Plot[Sin[x], {x, 1, 2}], 
     Plot[Cos[x], {x, 0, 2}]}, {Plot[Sin[x] + a x, {x, 0, 2}]}}], {a, 
   0, 10}]

Export["m.avi", plot]
share|improve this answer
    
This is great. Thank you. –  Nicole Jun 4 at 17:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.