bugGNU Octave - Bugs: bug #40437, calling plotyy corrupts the...

 
 

bug #40437: calling plotyy corrupts the graphics system

Submitted by:  None
Submitted on:  Thu 31 Oct 2013 08:23:25 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Works For MeAssigned to: None
Originator Name: Lynn Ten EyckOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 01 Nov 2013 08:44:56 AM UTC, comment #1:

I can confirm this on MinGW (Windows) Octave 3.6.4 but only with gnuplot.
And yes I can even confirm that on an old MinGW Octave 3.2.4 it all works fine. So it looks like platform (OSX, Windows, Linux) doesn't play a role here.

After issuing:
graphics_toolkit fltk
in Octave 3.6.4 this bug doesn't happen; while I do see that the right Y-axis is missing after the second call to bar().

The good news:
With a very recent 3.7.7+ build your command sequence works fine even with gnuplot, both on Windows (MinGW) and on Linux (Mageia-2).

So, it looks like this has been fixed in the development sources.

Thanks for reporting anyway.

Changing OS to "any", & closing with "works for me" (as I don't have OSX) - it can always be reopened.

Philip Nienhuis <philipnienhuis>
Project Member
Thu 31 Oct 2013 08:23:25 PM UTC, original submission:

The following code sequence
produces an error condition and leaves the plotting system in a seriously damaged state.

The first call to "bar" demonstrates the system worked properly.
"plotyy" also produces a correct plot.
Further attempts to use "bar" fail with the following error messages:

This error occurs on version 3.6.4 and Mac OSX 10.8.5, compiled with Homebrew,
and also occurs on Ubuntu 12.04 LTS, downloaded from the gnu/octave site and compiled with ./configure; make.

The error does NOT occur on octave 3.2 as distributed by the Ubuntu package manager.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Nov 2013 08:44:56 AM UTCphilipnienhuisStatusNone=>Works For Me
      Open/ClosedOpen=>Closed
      Operating SystemMac OS=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1