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

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

[Octave-bug-tracker] [bug #42362] isaxes returns wrong results


From: Stefan Mahr
Subject: [Octave-bug-tracker] [bug #42362] isaxes returns wrong results
Date: Wed, 14 May 2014 22:15:15 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0

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

                 Summary: isaxes returns wrong results
                 Project: GNU Octave
            Submitted by: dac922
            Submitted on: Wed 14 May 2014 10:15:14 PM GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

If the last arguments of isaxes input vector are not a axes, the output vector
size if different from the input size.


figure()
ax=axes
isaxes([ax 0])
ans = 1


The correct result should be [1 0]

I figured out while trying to do a plotyy twice.

plotyy(1:4,rand(1:4),1:r:rand(1,4))
plotyy(1:4,rand(1:4),1:r:rand(1,4))


The first call works, the second fails. With correct isaxes, plotyy works for
this case.

However, there're still some problems in conjunction with legend. The example
from bug 41970 <https://savannah.gnu.org/bugs/?41970> still works for the
first call, but the second plotyy call fails again.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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