WINSIZE

Syntax

WINSIZE

(WINSIZE number)

Explanation

WINSIZE outputs the size of the Graphics window as a list with two elements. The first element is the width in pixels and the second is the height in pixels.

An optional input can be supplied to WINSIZE if WINSIZE and its inputs are enclosed in parentheses. This input identifies the window by the number listed in the Window menu.

See also SETWINSIZE, EXTENT and SETEXTENT.

Example

? WINSIZE

Result: [320 198]

?