get

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.

Syntax

get(h)

get(h, p)

Inputs

h
Graphics handle.
Type: double | integer
Dimension: scalar
p
Property to be requested.
Type: string
Dimension: scalar

Outputs

R
The value of h.

Example

Simple get example

titleHandle = get(gca, 'title')
titleHandle = 17.2124452