tf = isgraphics(GO)
tf = isgraphics(GO, type)
| Parameter | Description |
|---|---|
| GO | variable or graphics object. |
| type | a character vector or scalar string: 'axes', 'line', 'image', 'root', 'text', 'figure'. |
| Parameter | Description |
|---|---|
| tf | a scalar logical. |
isgraphics checks is variable is an graphics object.
f = figure()
tf = isgraphics(f)
tf = isgraphics(f, 'figure')
tf = isgraphics(f, 'text')
f = 3
tf = isgraphics(f)
| Version | Description |
|---|---|
| 1.0.0 | initial version |