Property | Value |
---|---|
Hex Value | $8B |
Categories | |
Localizations |
|
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.
Related Commands
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 |