|
From: | Michael Goffioul |
Subject: | Re: [OctDev] Java/OpenGL-based graphics package for octave |
Date: | Wed, 25 Apr 2007 21:35:22 +0200 |
On 4/25/07, John W. Eaton <address@hidden> wrote:
On 25-Apr-2007, Michael Goffioul wrote: | In Matlab, you can actually make a difference, because a line and | a baseline are objects from 2 different classes. A baseline is actually | an object of class "specgraph.baseline". So you can distinct it with | "isa". When dealing only with properties, the difference is harder to | make. Can you give an example of how this is done? For me, given hs = stem (1:3); hb = get (hs, 'baseline'); Then class (hb) returns 'double'.
You have to get the object associated with the handle. There's a function to do that, but I don't remember it (I don't have Matlab under the hand right now). This is low-level and I don't think this is part of the official Matlab API. Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |