# groot

graphic root object.

## Syntax

* g = groot()

## Output argument

* g - a graphics object: root object.

## Description

groot returns graphic root object.

Properties:

Children: Array of available figure objects.

CurrentFigure: Current figure graphics object.

Parent: empty array (No parent)

PointerLocation: Current location of pointer.

ScreenDepth: Number of bits that define each pixel color.

ScreenSize: Size of primary display (vector).

Tag: Object identifier: string scalar, character vector, '' (default).

Type: Type 'root'.

Units: 'pixels'.

UserData: User data: array or \[] (default).

## Example

```matlab
g = groot()
g.ScreenDepth
```

## See also

[figure](figure), [gcf](gcf).

## History

| Version | Description     |
| ------- | --------------- |
| 1.0.0   | initial version |

## Author

Allan CORNET
