Property | Value |
---|---|
Hex Value | $A1 |
Categories | |
Localizations |
|
Pxl-On(
Overview
Draws pixel on the graph area at (row
,column
) in the specified color.
Color#: 10 - 24 or color name pasted from [vars] COLOR.
Availability: Token available everywhere.
Syntax
Pxl-On(row,column[,color#])
Arguments
Name | Type | Optional |
---|---|---|
row | ||
column | ||
color# | colorNum | Yes |
Location
2nd, draw, POINTS
, 4:Pxl-On(
Description
The Pxl-On( command is used to turn on the pixel at the given (Y,X) coordinates. Please note that the coordinates are switched around so that the row comes first and then the column — it's (Y,X) unlike the (X,Y) of the Pt-On( command. Also note that the (0,0) point is the upper left corner of the Graph screen.
In addition to being easier to use because it is not affected by the window settings (meaning you don't have to set them when using the command), Pxl-On( is faster than its equivalent Pt-On( command, so it should generally be used instead whenever possible.
Error Conditions
- ERR:DOMAIN is triggered if the coordinates are not whole numbers or not in the right range ([0..62] for row, [0..94] for column). These bounds are also affected by split screen mode.
Related Commands
Source: parts of this page were written by the following TI|BD contributors: burr, DarkerLine, GoVegan, my_name.
History
Calculator | OS Version | Description |
---|---|---|
TI-82 | 1.0 | Added |