<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ALine</id>
	<title>TI-BASIC:Line - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://learn.cemetech.net/index.php?action=history&amp;feed=atom&amp;title=TI-BASIC%3ALine"/>
	<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Line&amp;action=history"/>
	<updated>2026-06-10T07:44:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.3</generator>
	<entry>
		<id>http://learn.cemetech.net/index.php?title=TI-BASIC:Line&amp;diff=875&amp;oldid=prev</id>
		<title>Maintenance script: Initial automated import</title>
		<link rel="alternate" type="text/html" href="http://learn.cemetech.net/index.php?title=TI-BASIC:Line&amp;diff=875&amp;oldid=prev"/>
		<updated>2016-02-24T18:23:07Z</updated>

		<summary type="html">&lt;p&gt;Initial automated import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:TI-BASIC:Command&lt;br /&gt;
|picture=LINE.GIF&lt;br /&gt;
|summary=Draws a line at any angle.&lt;br /&gt;
|syntax=Line(X,,1,,,Y,,1,,,X,,2,,,Y,,2,,&amp;#039;&amp;#039;[,erase,color,style]&amp;#039;&amp;#039;)&lt;br /&gt;
|location=Press:&lt;br /&gt;
# 2nd DRAW to enter the draw menu&lt;br /&gt;
# 2 to insert the Line( token, or use arrows and ENTER.&lt;br /&gt;
|compatibility=TI-83/84/+/SE&lt;br /&gt;
|size=1 byte&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The Line( command is used to draw lines at any angle, as opposed to only drawing [[TI-BASIC:Vertical|Vertical]] or [[TI-BASIC:Horizontal|Horizontal]] lines. Line(X,,1,,,Y,,1,,,X,,2,,,Y,,2,,) will draw a line from (X,,1,,,Y,,1,,) to (X,,2,,,Y,,2,,). Line( is affected by the window settings, although you can use a [[TI-BASIC:Friendly_Window|friendly window]] so there is no impact on the command.&lt;br /&gt;
&lt;br /&gt;
 :Line(5,5,20,3)&lt;br /&gt;
&lt;br /&gt;
= Advanced Uses =&lt;br /&gt;
&lt;br /&gt;
Line has an optional fifth argument. It can be any real number, but the default is one. If the fifth argument, &amp;#039;&amp;#039;erase&amp;#039;&amp;#039;, is something other than 0, then it will simply draw the line. If &amp;#039;&amp;#039;erase&amp;#039;&amp;#039; is 0, then it will erase the line.&lt;br /&gt;
&lt;br /&gt;
 :Line(5,5,20,3,0)&lt;br /&gt;
&lt;br /&gt;
Leave off the ending argument if you are just drawing the line.&lt;br /&gt;
&lt;br /&gt;
 :Line(5,5,20,3,1)&lt;br /&gt;
 can be&lt;br /&gt;
 :Line(5,5,20,3)&lt;br /&gt;
&lt;br /&gt;
The ending argument can be a formula, which is useful for [[TI-BASIC:Movement|movement applications]] and other things such as health bars where the lines drawn are constantly different. The following draws or erases a line depending on whether a key is pressed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 :getKey&lt;br /&gt;
 :Line(5,5,20,3,not(Ans&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If working on a TI 84+CSE or TI 84+CE, then the fifth argument of the Line( command can be a color name or ID number:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 :Line(5,5,20,3,BROWN&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The last argument, line style, is an optional argument that chooses what style of line to draw on the color calculators.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 1 pixel wide line&lt;br /&gt;
 :Line(5,5,20,3,RED,1&lt;br /&gt;
 2 pixel wide line&lt;br /&gt;
 :Line(5,5,20,3,RED,2&lt;br /&gt;
 shaded above&lt;br /&gt;
 :Line(5,5,20,3,RED,3&lt;br /&gt;
 shaded below&lt;br /&gt;
 :Line(5,5,20,3,RED,4&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
= Command Timings =&lt;br /&gt;
&lt;br /&gt;
If you are drawing horizontal or vertical lines that stretch the entire graph screen, such as a border, it is better to use [[TI-BASIC:Vertical|Vertical]] or [[TI-BASIC:Horizontal|Horizontal]]. These are smaller and are usually faster as well.&lt;br /&gt;
&lt;br /&gt;
= Related Commands =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Vertical|Vertical]]&lt;br /&gt;
* [[TI-BASIC:Horizontal|Horizontal]]&lt;br /&gt;
&lt;br /&gt;
= See Also =&lt;br /&gt;
&lt;br /&gt;
* [[TI-BASIC:Friendly_Window|Friendly Graphing Window]][[Category:TI-BASIC]]&lt;br /&gt;
[[Category:TIBD]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>