The Horizontal Command

Command Summary

Draws a horizontal line on the graph screen.

Command Syntax

Horizontal Y

Menu Location

In the program editor:

  1. 2nd DRAW to enter the draw menu
  2. 3 to insert the Horizontal command, or use arrows and ENTER.

Calculator Compatibility


Token Size

1 byte

Horizontal Y draws a vertical line from the left of the graph screen to the right at Y. Horizontal is usually only used to replace a line that stretches the entire length of the graph screen, along with its counterpart Vertical.

Horizontal is affected by the window settings, unlike the Pxl- commands.

:Horizontal 5

Advanced Uses

One of the fastest ways to make the entire screen black is by drawing horizontal lines from the bottom of the screen to the top.

:Horizontal A

If working with TI 84+C version calculators, the Horizontal command takes an additional color argument, as shown below:

Horizontal 5,GRAY

Related Commands


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