TI-BASIC:Zoomfit

From Learn @ Cemetech
Revision as of 18:32, 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

File:Http://tibasicdev.wikidot.com/local--files/zoomfit/ZoomFit Example.gif

Command Summary

Zooms to a graphing window that works for the currently graphed equations.

Command Syntax

ZoomFit

Menu Location

Press:

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

Calculator Compatibility

TI-83/84/+/SE

Token Size

2 bytes

The ZoomFit zooms to the smallest window that contains all points of the currently graphed equations. In Func mode, this means that it calculates the minimum and maximum Y-value for the current Xmin to Xmax range, and sets Ymin and Ymax to those values (Xmin and Xmax remain unchanged). In other graphing modes, this process is done for both X and Y over the range of T, θ, or n.

Optimization

When graphing an equation with ZoomFit, the calculator will first calculate all points to find the minimum and maximum, then calculate all the points again to graph it. This can be time consuming if the equation is very complicated, and in that case doing part of the process manually might be faster if you reuse the points.

Error Conditions

  • ERR:INVALID is thrown if this command is using outside a program (although the menu option, of course, is fine).
  • ERR:WINDOW RANGE is thrown when the window ends up being empty (if the function is constant, for example)

Related Commands