bugGNU Octave - Bugs: bug #49747, rotate3d compatibility with Matlab


bug #49747: rotate3d compatibility with Matlab

Submitted by:  Guillaume <gyom>
Submitted on:  Thu 01 Dec 2016 12:54:35 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  None Assigned to:  None
Originator Name:  Guillaume Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Fri 06 Sep 2019 02:08:47 PM UTC, comment #3: 

Just to add a note that Matlab's rotate3d also has two related utility functions: isAllowAxesRotate and setAllowAxesRotate.

Guillaume <gyom>
Fri 02 Dec 2016 10:26:40 AM UTC, comment #2: 

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():

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)

Guillaume <gyom>
Thu 01 Dec 2016 09:15:40 PM UTC, comment #1: 

To view which properties are available returns an error:

error: 'prop' undefined near line 27 column 15
error: called from
    get at line 27 column 7

kire pudsje <kpc>
Thu 01 Dec 2016 12:54:35 PM UTC, original submission:  

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);
set(hrot, "Enable", "on");

I noticed that there was already some interest to update rotate3d:


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)?

Guillaume <gyom>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #39129:  Rotate3D.m added by gyom (2KiB - text/x-objective-c)
file #39125:  rotate.diff added by gyom (2KiB - application/x-download)
file #39126:  Rotate3D.m added by gyom (1KiB - text/x-objective-c)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by kpc (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-02 gyom Attached File- => Added Rotate3D.m, #39129
    2016-12-01 gyom Attached File- => Added rotate.diff, #39125
        Attached File- => Added Rotate3D.m, #39126

    Back to the top

    Powered by Savane 3.7