[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48038] fill errors/warnings
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #48038] fill errors/warnings |
Date: |
Fri, 27 May 2016 14:08:20 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Follow-up Comment #7, bug #48038 (project octave):
A related example that works in Matlab but fails in Octave is:
x = 1:10;
y1 = rand(1,10);
y2 = 2+rand(1,10);
props.LineStyle = ':';
fill ([x fliplr(x)], [y1 y2], 'r', props);
fill ([x fliplr(x)], [y1 y2], [1 0 0], props);
The error and warning messages are the same as given by Muhali.
The error is in __patch__.m not correctly parsing the input arguments when
properties are set with a struct instead of with only property value pairs.
Muhali's second example should fail but produces a warning. The underlying
issue is the same (__patch__.m messing up the input arguments).
I will try and see whether I can find a better way for __patch__.m to do the
input check if this is OK for you.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48038>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Muhali, 2016/05/27
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Juan Pablo Carbajal, 2016/05/27
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Muhali, 2016/05/27
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Juan Pablo Carbajal, 2016/05/27
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Muhali, 2016/05/27
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Juan Pablo Carbajal, 2016/05/27
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Muhali, 2016/05/27
- [Octave-bug-tracker] [bug #48038] fill errors/warnings,
Markus Mützel <=
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Markus Mützel, 2016/05/27
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Lachlan Andrew, 2016/05/28
- [Octave-bug-tracker] [bug #48038] fill errors/warnings, Markus Mützel, 2016/05/31