octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [new function/changeset] thought/request for ishandle()


From: John W. Eaton
Subject: Re: [new function/changeset] thought/request for ishandle()
Date: Tue, 14 Oct 2008 10:01:04 -0400

On 14-Oct-2008, Ben Abbott wrote:

| The isfigure() and ishghandle() functions are quite similar. I like  
| those as they make the m-file if-blocks  easier to read. For that  
| reason I was looking for a similar funcition for axes, but wanted to  
| include additional information, and decided to try to float a version  
| of ishande() with properties specified.
| 
| In any event, would an isaxes() is a better choice?

What's wrong with

  ishandle (h) && strcmp (get (h, 'type'), 'axes')

?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]