Add a New Comment (Rich Markup)
Just to add a note that Matlab's rotate3d also has two related utility functions: isAllowAxesRotate and setAllowAxesRotate. https://www.mathworks.com/help/matlab/ref/rotate3d.html
The function to see the public properties of an object is properties() but it is not available in Octave. The error you report with get() has, I think, more to do with missing features of the handle class, e.g. it doesn't work either with inputParser():
get(inputParser) error: octave_base_value::array_value(): wrong type argument 'object' error: get: H must be a graphics handle
I've nevertheless modified Rotate3D to have a better behavior there. (file #39129)
To view which properties are available returns an error:
>>get(hrot) error: 'prop' undefined near line 27 column 15 error: called from get at line 27 column 7
I have made some small adjustments to rotate3d.m for a better compatibility with Matlab. I also started writing a class (so far called Rotate3D) for the situation where rotate3d returns an object. It allows to do this:
hfig = figure; hrot = rotate3d (hfig); hrot.FigureHandle set(hrot, "Enable", "on");
I noticed that there was already some interest to update rotate3d: http://lists.gnu.org/archive/html/octave-maintainers/2014-09/msg00067.html What would be a good name for the Rotate3D class and where should it be stored in Octave (eg somewhere in +octave/+internal/+graphics/Rotate3D.m)?
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only project members can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 3 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11