Add a New Comment (Rich Markup)
Comment Type & Canned Response: None None > Multiple Canned Responses Fixed in development Crash with no stack trace Already fixed in newer version Fixed in stable Bad description Bad description and crash Bad stack trace Obsolete version Duplicate and not fixed Duplicate and needs more info Duplicate and fixed Need info and old
Verified that the code no longer produces an error and that the output appears equivalent to Matlab. Marking as Fixed and closing report.
Thank you for your report.
I pushed a change to the stable branch that should fix this issue: https://hg.savannah.gnu.org/hgweb/octave/rev/0938366560cf
It should be part of Octave 7.2.0.
Marking as ready for test.
subplot() has two usages, either you give a numbr of rows and columns and select the axis with an index, or you can request the axis by setting the 'position' of the subplot. When mixing these two, you get an error. For example,
subplot(2, 2, 1) subplot('position', [0.5, 0.5, 0.3, 0.3])
returns an error in the second line in subplot.m, line 296. The error comes from the fact that a variable "rows" is requested that has not been submitted in the function call.
The problem seems to have been introduced when fixing bug #59076, it is not present in Octave 5.2.
I am aware that mixing these two forms is a bit special, so the error may well be intentional. On the other hand, it is a regression and that Matlab eats this setup just fine.
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2022 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.9