[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors
From: |
Nicholas Jankowski |
Subject: |
[Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors |
Date: |
Wed, 14 Sep 2022 12:31:10 -0400 (EDT) |
Follow-up Comment #11, bug #49143 (project octave):
examples:
Matlab 2022a:
2 element row vector, 3 prompts
orientation = inputdlg({'axis x' ,'axis y','axis z'},'cosine directors',[1
70],{'0','-sind(180)','cosd(180)'})
produces dialog with 3 inputs, each 1 row high and 70 chars wide
Octave throws an error because the vector is supposed to have the same number
of elements, each defining a height.
2 element row vector, 2 prompts
orientation = inputdlg({'axis y','axis z'},'cosine directors',[1
70],{'-sind(180)','cosd(180)'})
produces dialog with 2 inputs, each 1 row high and 70 chars wide
Octave produces a dialog with 2 inputs, the first 1 row high the second 70
rows high, as per the documented behavior.
2 element row vector, 2 prompts
orientation = inputdlg({'axis y','axis z'},'cosine
directors',[1;70],{'-sind(180)','cosd(180)'})
produces dialog with 2 inputs, 2 inputs, the first 1 row high the second 70
rows high, as per the documented behavior.
Octave produces a dialog with 2 inputs, the first 1 row high the second 70
rows high, as per the documented behavior.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49143>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors, Faith, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors, Doug Stewart, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors, Faith, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors, Doug Stewart, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors, Faith, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors, Doug Stewart, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors, Nicholas Jankowski, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors,
Nicholas Jankowski <=
- [Octave-bug-tracker] [bug #49143] inputdlg does not handle well vectors, Doug Stewart, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg processes 2 element row vector rowscols input as heights instead of height and width, Nicholas Jankowski, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg processes 2 element row vector rowscols input as heights instead of height and width, Nicholas Jankowski, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg processes 2 element row vector rowscols input as heights instead of height and width, Nicholas Jankowski, 2022/09/14
- [Octave-bug-tracker] [bug #49143] inputdlg processes 2 element row vector rowscols input as heights instead of height and width, Faith, 2022/09/15
- [Octave-bug-tracker] [bug #49143] inputdlg processes 2 element row vector rowscols input as heights instead of height and width, Nicholas Jankowski, 2022/09/15