1
$\begingroup$

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?

$\endgroup$

1 Answer 1

3
$\begingroup$

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]
$\endgroup$
1
  • $\begingroup$ This is great. Thank you. $\endgroup$
    – Nicole
    Jun 4, 2014 at 17:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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