[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57792] patch command returns error
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #57792] patch command returns error |
Date: |
Tue, 11 Feb 2020 14:22:28 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?57792>
Summary: patch command returns error
Project: GNU Octave
Submitted by: None
Submitted on: Tue 11 Feb 2020 07:22:26 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name: Glenn Groeschel
Originator Email: address@hidden
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Details:
When calling the patch command, in release 5.2.0 (hg id: eb46a9f47164) an
error is returned when NaN's exist in the vertices. Release 5.1.0 (hg id:
d05d6eebde10) completes successfully, and also matches Matlab output.
Running on Windows 7 Professional 64bit.
The following code produces the error in 5.2.0 for the second figure. First
figure (without NaN's is rendered properly for 5.1.0 and 5.2.0)
figure;
hax=gca;
v2 = [2 4 1; 2 8 0; 7 8 5; 8 4 2; 5 0 3; 5 2 4; 8 2 4; 8 0 5];
f2 = [1 2 3 4;
5 6 7 8];
c=[0;.2;.5;.7;.8;1;0.4;.3];
%This works fine
patch(hax,'Faces',f2,'Vertices',v2,'FaceVertexCData',c,'FaceColor','interp','EdgeColor','interp','FaceAlpha',1,'DisplayName','test1');
figure;
hax2=gca;
v2(2:3,:)=NaN;
%This returns error
patch(hax2,'Faces',f2,'Vertices',v2,'FaceVertexCData',c,'FaceColor','interp','EdgeColor','interp','FaceAlpha',1,'DisplayName','test2');
The error produced on my machine is:
DLASCL: parameter number 4 is invalid
error: Fortran procedure terminated by call to XERBLA
error: __go_patch__: unable to create graphics handle
error: called from
__patch__ at line 171 column 7
patch at line 86 column 18
patch_test_simp at line 16 column 1
Noticed some other recent submissions related to patch, but this seemed like
it may be a different issue.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57792>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57792] patch command returns error,
anonymous <=