[Scilab-users] Replacement of pixmap by drawlater / drawnow in Version 5.4.0

Jens Simon Strom j.s.strom at hslmg.de
Tue Dec 4 17:21:17 CET 2012


In version 5.3 I have written a script which produces an animated plot of a
magnetic field showing approx. 70 oscillating and rotating arrows. The arrows
are generated by the command 'arrows' in a loop. I used the 'pixmap' and the
'show_pixmap()' command resulting in a perfect calm and smooth movie.

Version 5.4.0 tells me that 'pixmap' is obsolete and 'drawlater' and 'drawnow'
shall be used instead. I have tried my best with the latter two plus 'xpause'
but never got a satisfying result - the animation performs like a defect silent
film projector. Deleting seem to be an issue.

Could anyone kindly  give me a hint how I can calm down the animation with
'drawlater' and 'drawnow' in a loop where arrows are drawn with 'arrows'?

'comet' might be a workarond but that would mean a new start from scratch.

Kind regards
Jens

   






More information about the users mailing list