bugGNU Octave - Bugs: bug #42901, Plotting while running from a...

 
 

bug #42901: Plotting while running from a startup file is out of sync

Submitter:  Colin Foster <cfoster>
Submitted:  Fri 01 Aug 2014 09:03:46 PM UTC
   
 
Category:  Plotting with gnuplot Severity:  2 - Minor
Priority:  3 - Low Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Colin Foster Open/Closed:  * Closed
Release:  * 3.8.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 27 Apr 2018 10:13:58 PM UTC, comment #2: 

This works fine in Octave 4.4 with either the qt or gnuplot toolkits, closing as fixed.

Mike Miller <mtmiller>
Group Member
Sun 03 Aug 2014 06:54:40 AM UTC, comment #1: 

This doesn't happen with the FLTK toolkit.  You might try using


graphics_toolkit fltk


at the start of the script as an option.  Or you can use the drawnow() call.

In any case, this is another example of why Octave developers are trying to switch away from using the gnuplot toolkit.  I'm not sure this will be fixed, but I'll mark the bug as confirmed.

Rik <rik5>
Group administrator
Fri 01 Aug 2014 09:03:46 PM UTC, original submission:  

When I run the attached file from the octave CLI interface everything works as expected.

When I run the attached file from a startup file implementation, a la:
octave BugRecreationAttempt.m
I get the following behavior

I try to plot using menu choice 1. The nothing happens.
I try to plot using menu choice 2. The plot from menu choice 1 appears.

Everything continues to happen one plot out of sync.

I am using gnuplot:
G N U P L O T
Version 4.6 patchlevel 3 (Gentoo revision r0)    last modified 2013-04-12
Build System: Linux x86_64



Workaround that works: If I throw a drawnow at the end of my do/until loop the startup script implementation works fine.

Colin Foster <cfoster>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #31823:  BugRecreationAttempt.m added by cfoster (713B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by cfoster
  • -email is unavailable- added by cfoster (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-27 mtmiller StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-05-19 rik5 Severity3 - Normal 2 - Minor
    2014-08-03 rik5 CategoryPlotting Plotting with gnuplot
        Priority5 - Normal 3 - Low
        StatusNone Confirmed
    2014-08-01 cfoster Carbon-Copy- Added -email is unavailable-
    2014-08-01 cfoster Attached File- Added BugRecreationAttempt.m, #31823

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code