ishandle
Returns true if x is a graphics handle; returns false if otherwise.
Syntax
ishandle(h)
Inputs
- h
- Type: double | integer
Outputs
- R
- Numerical equivalent true/false.
Example
Simple ishandle example.
ishandle(pi)
ans = 0
Discover new features and enhancements.
New to Activate? Learn the basics here.
Start using Activate with our interactive tutorials.
Learn about the components in Activate models.
Learn about modeling physical components.
Learn about modeling hydraulic systems with the Hydraulics (By Fluidon) library.
Learn about modeling electrical and electronic systems with Modelica and Spice.
Learn about modeling multibody dynamic systems.
Learn about modeling electromagnetic systems.
Learn how to set up, run, and troubleshoot simulations.
Discover options to review, display, and export results.
Learn about block libraries for building dynamic system models.
Explore the Extended Definitions, OML Guides, Block Library, API Guide and Glossary.
PDF file with in-depth information on key topics in the User's Guide.
OpenMatrix is a mathematical scripting language.
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Creates stacked areas in an axes and returns handles of the areas.
Create a new axes or set current axes by passing a handle argument.
Sets the scaling and range of x, y, and z axes (x by default). Called without arguments, axis turns autoscaling on.
Creates bars in an axis and returns handles of the bars.
Creates 3d bars on an axis and returns the handles of the bars.
Turn on/off the border of a 2D plot.
Clears the current axes or axes specified by handle.
Clears the current figure or figure specified by handle.
Close the current, or a specific, or all figure window.
Gets or sets the colormap of a figure or axes.
Turns the axes colorbar on/off. Get and set the colorbar's minimum and maximum values.
Creates 2D contoured surface in an axes.
Creates 3D contoured surface in an axes.
Docks a floating figure in the main window.
Forces an update of the current axes.
Creates an elliptical shape on the figure.
Creates a surface and a set of 3D lines defined by the x, y, and z matrices.
Creates a new figure for plotting.
Finds all objects which have a property named propertyName and the value for such property is propertyValue.
Creates 2D filled in polygons of range x and y and color c.
Returns a handle to the current axes object.
Returns a handle to the current figure.
Returns the value of the named property p from the graphics handle, h. If property name is omitted, all properties of h will be returned.
Returns the mouse position in the figure area.
Properties for the graphics object in OML.
Turn on/off grid lines in a plot. Toggle the states if no argument is used.
Creates a histogram in an axis.
Turn on/off the "hold" state of axes. Toggle the states if no argument is used. When the "hold" state is on, new plotting data will be added into current axes.
Display a matrix as an image with scaled colors.
Displays an image file in a figure.
Returns true if x is an axis handle; returns false if otherwise.
Returns true if x is a figure graphics handle; returns false if otherwise.
Returns true if x is a graphics handle; returns false if otherwise.
Returns true if the next plot will be added to the current one; returns false if otherwise.
Update legend text of axes. Turn on/off the legend of axes. Toggle the states if no argument is used.
Add a curve in current axes or a specified axes.
Plots a given dataset in 2D axes with logarithmic scales for x and y axes.
Creates mesh in an axes and returns handles of the mesh.
Construct a grid of points from coordinate vectors.
Creates 2D or 3D patches in an axis.
Plots a given dataset in 2D axes.
Creates 3D lines in an axes and returns handles of the lines.
Plots given datasets in independent y-axes and a common x-axis.
Creates a line plot in polar coordinates.
Creates a rectangular shape on a figure.
Save a figure to a specific file.
Creates dots in an axes and returns handles of the dots.
Creates 3D dots in an axes and returns handles of the dots.
Plots a given dataset in 2D axes with logarithmic scales for x axis.
Plots a given dataset in 2D axes with logarithmic scales for y axis.
Sets property values for graphics handles.
Creates a stem plot in an axis and returns the stem handles.
Sets up a plot grid with rows by cols subwindows and sets the current axes for plotting to the location given by index.
Creates surfaces in an axes and returns handles of the surfaces.
Creates a textbox at coordinate x,y with text 't'.
Sets the title of the plot.
Creates a button group in a figure to group radio buttons.
Creates interactive graphical control objects in a figure. Use the 'style' property of uicontrol to create different types of control objects.
Creates container objects in a figure.
Resumes execution of code, stopping uiwait on the given handle, handle, or stopping all uiwait commands in the current session.
Creates a table in a figure.
Pauses the execution of code until the given handle, handle, is deleted, and the timeout, waittime, is reached.
Undocks a figure, making it float over the main window.
Sets the viewpoint for the current axes.
Creates waterfall meshes in an axes and returns handles of the meshes.
Annotates the x-axis.
Set and query range of x axis.
Annotates the y-axis.
Set and query range of y axis.
Annotates the z-axis.
Set and query range of z axis.
Describes all of the blocks in the installed Activate library.
Key terms associated with the software.
Define shortcuts to common operations.
Explore the Extended Definitions, OML Guides, Block Library, API Guide and Glossary.
The Reference Guide contains documentation for all functions supported in the OpenMatrix language.
Returns true if x is a graphics handle; returns false if otherwise.
Returns true if x is a graphics handle; returns false if otherwise.
ishandle(h)
Simple ishandle example.
ishandle(pi)
ans = 0
(c) Altair Engineering, Inc. All rights reserved.