On 09/17/2009 05:20 PM, Michael D Godfrey wrote:
On
09/17/2009 03:16 PM, Robert T. Short wrote:
octave:1>
f1 = figure(1); % This creates a figure object. The
handle is f1, but f1 is NOT an object.
octave:2> ishandle(f1) % You can see this by using ishandle
and isobject. The actual object is buried
ans = 1 % in the octave dataspace, and
you can't get it directly but you CAN manipulate
octave:3> isobject(f1) % the properties through the handle.
ans = 0 % Thus a handle is simple an opaque
reference to the object. It could be an index
=============================================
The above is true, but is not what the Manual says:
ishandle (h) [Built-in Function]
Return true if h is a graphics handle and false otherwise.
ishghandle (h) [Function File]
Return true if h is a graphics handle and false otherwise.
isfigure (h) [Function File]
Return true if h is a graphics handle that contains a figure object and
false otherwise
=============================================
I believed the Manual when I wrote the earlier email.
So far the response suggests that a Section in the Manual devoted to
the precise
definition of these terms would be a good idea. I will circulate a
draft soon.
Thanks,
Michael
Just noticed that this went
only to Robert.
This is for the rest of the list.
Michael
|