[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors
From: |
Neil Konzen |
Subject: |
[Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors |
Date: |
Mon, 15 Jun 2020 10:07:51 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36 Edg/83.0.478.45 |
Follow-up Comment #8, bug #58566 (project octave):
I uninstalled and reinstalled my Octave from octave-5.2.0_1-w64-installer and
continue to get those errors with the original script I posted. Returning
here, I see Dmitri is seeing the problem too.
It turns out the documentation for Matlab plotyy actually documents the fact
that "the secondary axis will be ignored" if it is called with the array of
axes returned by a previous call to plotyy. They also recommend using yyaxis()
instead, which is in fact the nice way to do it. But that's a recent function
not yet implemented in Octave.
Markus, your workarounds work fine for me, on Octave and Matlab. I am now
trying them out in my real code. Your suggestion to amend the docs is a great
idea. But I suggest the changes should be to the docstring of plotyy, since
that is where people go to plot on two y axes.
The "hold on" problem is something I noticed searching for a workaround --
that issue seems pretty serious to me, and worth a bug report, especially as
it doesn't seem related to dual-Y-axis plotting. Shall I submit a separate
bug, or will one of you follow up?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58566>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Neil Konzen, 2020/06/14
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Markus Mützel, 2020/06/14
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Dmitri A. Sergatskov, 2020/06/14
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Dmitri A. Sergatskov, 2020/06/14
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Markus Mützel, 2020/06/15
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Dmitri A. Sergatskov, 2020/06/15
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Dmitri A. Sergatskov, 2020/06/15
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Markus Mützel, 2020/06/15
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors,
Neil Konzen <=
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Dmitri A. Sergatskov, 2020/06/15
- [Octave-bug-tracker] [bug #58566] plotyy() and subplot() generate errors, Markus Mützel, 2020/06/15