| Property | Value |
|---|---|
| Hex Value | $A6 |
| Categories | |
| Localizations |
|
Horizontal
Overview
Draws a horizontal line at y in a specified
Color#: 10 - 24 or color name pasted from [vars] COLOR.
line style #: 1-4.
Availability: Token available everywhere.
Syntax
Horizontal y[,color#,linestyle#]
Arguments
| Name | Type | Optional |
|---|---|---|
| y | ||
| color# | colorNum | Yes |
| linestyle# | integer | Yes |
Location
2nd, draw, DRAW, 3:Horizontal
Description
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.
:For(A,Ymin,Ymax,ΔY
:Horizontal A
:End
If working with TI 84+C version calculators, the Horizontal command takes an additional color argument, as shown below:
Horizontal 5,GRAY
Related Commands
Source: parts of this page were written by the following TI|BD contributors: burr, DarkerLine, GoVegan, kg583, Xphoenix.
History
| Calculator | OS Version | Description |
|---|---|---|
| TI-82 | 1.0 | Added |