TI-BASIC:Zsquare

From Learn @ Cemetech
Revision as of 18:04, 24 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Zsquare example.gif

Command Summary

Zooms to a square window.

Command Syntax

ZSquare

Menu Location

Press:

  1. ZOOM to access the zoom menu.
  2. 5 to select ZSquare, or use arrows and ENTER.

Calculator Compatibility

TI-83/84/+/SE

Token Size

1 byte

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