The ZSquare Command

Command Summary

Zooms to a square window.

Command Syntax


Menu Location


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

Calculator Compatibility


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


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.