Skip to content
Property Value
Hex Value $8B
Categories
Localizations
  • FR: Zorthonormal

ZSquare

Overview

Adjusts the X or Y window settings so that each pixel represents an equal width and height in the coordinate system, and updates the viewing window.

Availability: Token only available from within the Basic editor.

Syntax

ZSquare

Location

zoom, ZOOM, 5:ZSquare


Description

The ZSquare command changes the window variables Xmin and Xmax, or Ymin and Ymax, so that ΔX=ΔY, preserving all other settings and the coordinate of the center of the screen. This ensures that a numerical distance on the graphscreen has the same physical length on the calculator display, no matter if it's vertical, horizontal, or diagonal. Probably the most obvious effect of this change is that circles (whether graphed with an equation or drawn with the Circle( command) are actually circles and not ovals.

When determining which of Xmin and Xmax or Ymin and Ymax to change, the command picks the ones that would be increased, and not decreased. This way, the window can never get smaller.

Note that ZDecimal, ZInteger, and to an extent ZTrig already have the same proportions, and don't require a ZSquare command to follow them.

Advanced Uses

ZSquare can be useful in setting up a friendly window.

Error Conditions

  • ERR:INVALID occurs if this command is used outside a program.

See Also


Source: parts of this page were written by the following TI|BD contributors: DarkerLine, GoVegan, HJTP.

History

Calculator OS Version Description
TI-82 1.0 Added

Last update: September 30, 2023 15:38:51
Created: February 23, 2023 23:15:01
Authors: Adrien Bertrand