0

I want to make an @animate for loop work in parallel, usually when I work with parallel I use (@sync )@parallel for, but it won't work for an animate loop as both macros try to detect the for keyword after. So is there a way to do it with just macros ?

zivo
  • 120
  • 8
  • Why not use a function that produces data using `@parallel` and a `@animate for` loop that calls that function? – Felipe Lema Apr 26 '18 at 14:57
  • I found that in the case of my code, the thing that eats all the CPU is the plotting function ( a heatmap in my case ) and not the data production itself. – zivo Apr 26 '18 at 18:08
  • Sounds like you'll need to filter data before plotting it. Can you provide sample code using random data? – Felipe Lema Apr 26 '18 at 21:10

0 Answers0