Skip to content
Property Value
Hex Value $8D
Categories
Localizations
  • FR: Zprécédent

ZPrevious

Overview

Replots the graph using the window variables of the graph that was displayed before you executed the last ZOOM instruction.

Availability: Token only available from within the Basic editor.

Syntax

ZPrevious

Location

zoom, MEMORY, 1:ZPrevious


Description

The ZPrevious command (and menu option) restore the window variables Xmin, Xmax, Xscl, Ymin, Ymax, and Yscl to the values they had before the last zoom command. This means, of course, that using ZPrevious a second time will cancel its effects.

Since no variables that are specific to the current graphing mode are changed, ZPrevious doesn't always achieve the effect of reversing the previous zoom command. For example, in Polar graphing mode, ZStandard will set θmin and θmax to 0 and 2π respectively. However, even if they were different before ZStandard, ZPrevious will not restore these settings. Also, ZPrevious doesn't notice if you change the window settings directly (by storing to the window variables).

Unlike ZoomSto and ZoomRcl, the values that ZPrevious uses aren't made available in any sort of variable.

Optimization

Using StoreGDB and RecallGDB is an excellent way to back up graph settings so a program doesn't modify them. However, if all you're doing is changing the window variables with one Zoom command, you can simply use ZPrevious at the end of the program instead.

Error Conditions

  • ERR:INVALID occurs if this command is used outside a program (but not if the menu option is used, of course).

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
Authors: Adrien Bertrand