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

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

[Octave-bug-tracker] [bug #65431] crash after hgload certain data


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #65431] crash after hgload certain data
Date: Fri, 8 Mar 2024 17:38:30 -0500 (EST)

Follow-up Comment #14, bug #65431 (group octave):

running the simple_2_crash script, both before and after Markus's patch, I
saved the contents of the input data and figure contents for the two figures. 
files pltinfo.dat and pltinfo_afterpatch.dat contain:

pltdata = plt.data # color data fed to CData or FVCData
vert = [geom.x ; geom.y ; geom.z].' #input vertex data
fac = tri # input faces data

as well as output figure info
h1dat = get(hp1), and h2dat= get(hp2) from:


hp1 = patch(...
'Vertices', [geom.x ; geom.y ; geom.z].',...
'Faces', tri,...
'FaceColor', 'interp',...
'EdgeColor', 'interp',...
'FaceAlpha', plt.face_alpha,...
'LineWidth', plt.edge_width,...
'FaceVertexCData', plt.data ... %  'CData', plt.data  ...      %this crashes 
'FaceVertexCData', plt.data ...  % 
);


hp2 = patch(...
'Vertices', [geom.x ; geom.y ; geom.z].',...
'Faces', tri,...
'FaceColor', 'interp',...
'EdgeColor', 'interp',...
'FaceAlpha', plt.face_alpha,...
'LineWidth', plt.edge_width,...
'CData', plt.data  ...      %this crashes  'FaceVertexCData', plt.data ...  %

);


will compare h1dat.cdata, h1dat.facevectexcdata, h1dat.xdata, h1dat.ydata,
h1dat.zdata, h1dat.vertices, h1dat.faces with same from h2dat to see where the
problem arises, and see if there are any differences with the after-patch
data.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65431>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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