I am interested in doing an animated simulation of 2D particle diffusion and I read on wikipedia that 'IGOR Pro is primarily known for its graphics capabilities'.
Does anybody have any experience with animating graphs using Igor, I would guess thru the update function, or are there any helpful tutorials?
Animation is practically a built-in feature of Igor Pro. All you have to do in a function is initialize a graph showing the first image, then make a loop periodically altering the image wave. After each change in the loop, call DoUpdate/W=targWin and the graph will change.
Sometimes, animations can run faster in "live" mode, so use ModifyGraph/W=targwin live = 1 prior to executing the loop.
The "FM Modulation Movie" example experiment (in the Movie&Audio category) shows this in action.
As s.r.chinn pointed out, the essence is always to display one or more waves, and then to modify those waves in a loop, with each iteration of the loop executing a "DoUpdate" command.
DoUpdate/W=targWin
and the graph will change.Sometimes, animations can run faster in "live" mode, so use
ModifyGraph/W=targwin live = 1
prior to executing the loop.March 28, 2013 at 06:02 am - Permalink
March 28, 2013 at 06:36 am - Permalink
As s.r.chinn pointed out, the essence is always to display one or more waves, and then to modify those waves in a loop, with each iteration of the loop executing a "DoUpdate" command.
March 28, 2013 at 07:09 am - Permalink
March 28, 2013 at 08:52 am - Permalink
March 28, 2013 at 09:02 am - Permalink