bugGNU Octave - Bugs: bug #56645, animatedline()

 
 

bug #56645: animatedline()

Submitted by:  William H. Hooper <hooperw>
Submitted on:  Thu 18 Jul 2019 10:25:54 PM UTC  
 
Category:  Octave Function Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 13 Aug 2019 05:09:00 PM UTC, comment #2: 

The good news: bounce(), animatedline(), and demo_animatedline() all compiled and ran under octave, both from the command line and within the octave-gui application.  I just just needed a graphics toolkit to support them; I installed gnuplot-qt via homebrew.  Thanks, arb!

The bad news: the graphics window flickers with each movement.  The flickering is bearable when octave-gui runs bounce.m, but not when it runs  demo_animatedline.  None of the animations run well from the command line; the drawing window opens properly, but the refresh flicker ruins the effect of animation.

More bad news: the graphics routines consume inordinate resources.  Running the original bounce.m (which contained an infinite loop) from the command line locked my machine; each refresh brought the drawing window into focus, so I couldn't even keep a Terminal window in front long enough to type a kill command.  Even within octave-gui, the graphics routines cause the fan to spin up, unlike their counterparts in Matlab.

I suspect that many of these problems come from gnuplot-qt.  If I'm able to import a graphics toolkit that works better, I'll post an update.

William H. Hooper <hooperw>
Tue 30 Jul 2019 06:39:06 AM UTC, comment #1: 

Well, octave has all the infrastructure to implement such a function. Attached is an animatedline classdef, that works for your bounce.m example, and the examples given in the matlab online documentations in demo_animatedline.m

(file #47277, file #47278)

A.R. Burgers <arb>
Thu 18 Jul 2019 10:25:54 PM UTC, original submission:  

I want to use Octave with Sauer's Numerical Analysis text, but the animated examples won't work without the animatedLine() function.  I have no idea how difficult it would be to implement animatedline() using OpenGL or gnuplot, so if there's a straightforward method for converting code that uses animatedline() to some other format I'd do that.

William H. Hooper <hooperw>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #47277:  animatedline.m added by arb (4KiB - text/plain)
file #47278:  demo_animatedline.m added by arb (2KiB - text/plain)
file #47238:  bounce.m added by hooperw (610B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arb (Updated the item)
  • -email is unavailable- added by hooperw (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-08-11 mtmiller Severity3 - Normal => 1 - Wish
        Priority5 - Normal => 3 - Low
        Release4.4.1 => dev
        Operating SystemMac OS => Any
    2019-07-30 arb Attached File- => Added animatedline.m, #47277
        Attached File- => Added demo_animatedline.m, #47278
    2019-07-18 hooperw Attached File- => Added bounce.m, #47238

    Back to the top


    Powered by Savane 3.5