[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using sl
From: |
Georg Wiora |
Subject: |
[Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using slice() with logical array |
Date: |
Mon, 18 Sep 2017 05:14:15 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0 |
URL:
<http://savannah.gnu.org/bugs/?52053>
Summary: GUI becomes unresponsive when using slice() with
logical array
Project: GNU Octave
Submitted by: gwiora
Submitted on: Mon 18 Sep 2017 11:14:13 AM CEST
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: gwiora
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: Microsoft Windows
_______________________________________________________
Details:
= Description =
When trying to slice a logical array the gui becomes unresponsive, at least
using qt on Windows.
= Example =
This example reproduces the behaviour:
[x,y,z]=meshgrid([1:5],[1:5],[1:5]);
vox = true(5,5,5);
vox(3,3,3)=false;
slice(x,y,z,vox,2,3,3)
Replacing the last line by
slice(x,y,z,double(vox),2,3,3)
produces the desired behavior.
=Suggested minimal solution=
Change documentation to state that logical arrays are not suitable.
=Better solution=
Allow use of logical arrays in slice.
=Background=
I found this problem, when using logical arrays in some other 3D-graphics
plotting functions too. Maybe it is a generic problem in some lower level
graphics function not cooperating with logical arrays.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52053>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using slice() with logical array,
Georg Wiora <=
- [Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using slice() with logical array, Georg Wiora, 2017/09/18
- [Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using slice() with logical array, Georg Wiora, 2017/09/18
- [Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using slice() with logical array, Pantxo Diribarne, 2017/09/18
- [Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using slice() with logical array, Georg Wiora, 2017/09/18
- [Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using slice() with logical array, Georg Wiora, 2017/09/18
- [Octave-bug-tracker] [bug #52053] GUI becomes unresponsive when using slice() with logical array, Pantxo Diribarne, 2017/09/18
- [Octave-bug-tracker] [bug #52053] clim values should be cast to double before applying, Rik, 2017/09/18
- [Octave-bug-tracker] [bug #52053] clim values should be cast to double before applying, Pantxo Diribarne, 2017/09/19
- [Octave-bug-tracker] [bug #52053] clim values should be cast to double before applying, Georg Wiora, 2017/09/19
- [Octave-bug-tracker] [bug #52053] clim values should be cast to double before applying, Pantxo Diribarne, 2017/09/19