Animations; Blinking in octave 3.23; Worked well in 3.03; platform Mac; suspected all platforms

View: New views
2 Messages — Rating Filter:   Alert me  

Animations; Blinking in octave 3.23; Worked well in 3.03; platform Mac; suspected all platforms

by Ladislav Kocbach-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Problem: Animations; Blinking in octave 3.23 not 3.03: platform Mac; suspected all platforms
This problem never occured before, since Octave 2.1

Taking code from "help refreshdata" 
          x = 0:0.1:10;
          y = sin (x);
          plot (x, y, "ydatasource", "y");
          for i = 1 : 100
            pause(0.1)
            y = sin (x + 0.1 * i);
            refreshdata();
          endfor
This code performs horrible animation, since all the graphics is redrawn, with blinking
There is nothing like 'erasemode','xor' or similar, the display blinks and is uncomfortable

This was not a problem with older versions of octave
For example,
the equivalent code which works smoothly in octave 3.0.3.
( and another equivalent code in octave 2.99 also works smoothly)
          x = 0:0.1:10;
          y = sin (x);
          PPL=plot (x, y);hold on;
          for i = 1 : 100
            pause(0.1)
            y = sin (x + 0.1 * i);
            set(PPL,'ydata',y)
          endfor
also misbehaves in octave 3.2.3.

The suggested reason:
somebody has been improving the communication with gnuplot and improved it too much
(unnecessary "clean figure" inserted probably)

My suspicion is that the same problem accurs also for other platforms.

Thank you!

Ladislav Kocbach
Department of Physics and Technology
University of Bergen, Norway
ladi@...  -- Mobile Phone: +47 45 25 80 80

_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave

Re: Animations; Blinking in octave 3.23; Worked well in 3.03; platform Mac; suspected all platforms

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

For Octave 3.2.3/MinGW for windows and octave 3.2.3 on cygwin,

>           x = 0:0.1:10;
>           y = sin (x);
>           plot (x, y, "ydatasource", "y");
>           for i = 1 : 100
>             pause(0.1)
>             y = sin (x + 0.1 * i);
>             refreshdata();
>           endfor

worked without blinking.

This problem was discussed before 3.2.3 release. Please see,

http://www.nabble.com/changeset-9395-(3.2.%EF%BD%98-branch)-should-be-applied-not-only-x11-term-but-on-windows,-wxt,-(-and-aqua)-term-td25326547.html

Which terminal are you using ? Aqua term or X11 term ?

I do not have Mac so that I cannot confirm the blinking at least on windows ( MinGW / Cygwin)

Please wait Mac users' replies.

Regards

Tatsuro
 
--- Ladislav Kocbach  wrote:

> Problem: Animations; Blinking in octave 3.23 not 3.03: platform Mac;
> suspected all platforms
> This problem never occured before, since Octave 2.1
>
> Taking code from "help refreshdata"
>           x = 0:0.1:10;
>           y = sin (x);
>           plot (x, y, "ydatasource", "y");
>           for i = 1 : 100
>             pause(0.1)
>             y = sin (x + 0.1 * i);
>             refreshdata();
>           endfor
> This code performs horrible animation, since all the graphics is redrawn,
> with blinking
> There is nothing like 'erasemode','xor' or similar, the display blinks and
> is uncomfortable
>
> This was not a problem with older versions of octave
> For example,
> the equivalent code which works smoothly in octave 3.0.3.
> ( and another equivalent code in octave 2.99 also works smoothly)
>           x = 0:0.1:10;
>           y = sin (x);
>           PPL=plot (x, y);hold on;
>           for i = 1 : 100
>             pause(0.1)
>             y = sin (x + 0.1 * i);
>             set(PPL,'ydata',y)
>           endfor
> also misbehaves in octave 3.2.3.
>
> The suggested reason:
> somebody has been improving the communication with gnuplot and improved it
> too much
> (unnecessary "clean figure" inserted probably)
>
> My suspicion is that the same problem accurs also for other platforms.
>
> Thank you!
>
> Ladislav Kocbach
> Department of Physics and Technology
> University of Bergen, Norway
> ladi@...  -- Mobile Phone: +47 45 25 80 80
> > _______________________________________________
> Bug-octave mailing list
> Bug-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave
>


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave