Skip to content
Property Value
Hex Value $8C
Categories
Localizations
  • FR: ZintConf

ZInteger

Overview

Redefines the viewing window using the following dimensions: TraceStep=1,ΔX=0.5, Xscl=10,ΔY=1, Yscl=10.

Availability: Token only available from within the Basic editor.

Syntax

ZInteger

Location

zoom, ZOOM, 8:ZInteger


Description

When ZInteger is chosen as a menu option outside a program, it asks for a point on the graph screen. This point's coordinates are rounded to the nearest integer point. Then the window variables are changed so the window is centered at this point, and so that the coordinates of every pixel are integers. ΔX and ΔY, the distances between two pixels next to each other, are both 1.

The above process modifies Xmin, Xmax, Ymin, and Ymax. Xscl and Yscl are also modified: both are set to 10. No other variables are modified (unless you count ΔX and ΔY, which are affected as they are defined).

The ZInteger command (usable in a program only) has a slightly different effect: instead of allowing you to choose a point, it automatically uses the point that is the current center.

Advanced Uses

A graph window commonly used in programming can be created by using the ZStandard and ZInteger commands:

:ZStandard
:ZInteger

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, seb83.

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