octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #40437] calling plotyy corrupts the graphics s


From: anonymous
Subject: [Octave-bug-tracker] [bug #40437] calling plotyy corrupts the graphics system
Date: Thu, 31 Oct 2013 20:23:26 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?40437>

                 Summary: calling plotyy corrupts the graphics system
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 31 Oct 2013 08:23:25 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Lynn Ten Eyck
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Mac OS

    _______________________________________________________

Details:

The following code sequence

bar ( [0:10], rand(11,2) )
plotyy ( [0,1], [1,0], [0,1], [0,1] )
bar ( [0:10], rand(11,2) )

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:


octave:1> bar( [0:10], rand(11,2))
octave:2> plotyy ( [0,1], [1,0], [0,1], [0,1])
octave:3> bar( [0:10], rand(11,2))
error: invalid conversion from real matrix to real scalar
error: __calc_dimensions__: expecting graphics handle as only argument
error: called from:
error:  
/usr/local/Cellar/octave/3.6.4/share/octave/3.6.4/m/plot/private/__go_draw_axes__.m
at line 55, column 8
error:  
/usr/local/Cellar/octave/3.6.4/share/octave/3.6.4/m/plot/private/__go_draw_figure__.m
at line 167, column 19
error:  
/usr/local/Cellar/octave/3.6.4/share/octave/3.6.4/m/plot/__gnuplot_drawnow__.m
at line 86, column 5


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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40437>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]