Graphic properties not working

Ben Abbott bpabbott at mac.com
Tue Mar 24 10:17:50 CDT 2009


On Tuesday, March 24, 2009, at 09:56AM, "John W. Eaton" <jwe at octave.org> wrote:
>On 24-Mar-2009, Ben Abbott wrote:
>
>| Mathworks appears to be doing something special. How does Matlab  
>| handle a situation like below?
>| 
>| 	set (hg, "SomeProperty", SomeValue)
>| 
>| If the property "SomeProperty" does not exst for the hggroup with  
>| handle hg, does Matlab do something like ...
>| 
>| 	set (findobj (hg, "-property", "SomeProperty"), "SomeProperty",  
>| SomeValue)
>| 
>|   ... or is the current example unique?
>
>I don't know how this this functionality is implemented in Matlab.
>This is just a friendly reminder that you should never examine any
>Matlab m-file sources to determine how it works and then implement
>something for Octave based on that.
>
>jwe

No problem for me. Especially, since *how* it works can be determined by some simple testing (already done in another follow up). 

Ben



More information about the Bug-octave mailing list