User Manual
17-20
Example: To draw a black pixel at coordinates (10, 10) and display the drawing screen
from casioplot import *
set_pixel(10,10,(0,0,0))
show_screen()
Black pixel
Note:
If either the
x- or y- coordinate value is outside of the allowable range, function
execution will be ignored (nothing drawn, no error).
get_pixel()
Description: Gets color information at the specified coordinates on the drawing screen.
Syntax: get_pixel(x, y)
x• argument, y argument
Specifies the x- and y-coordinates of the pixel whose color information is to be
gotten. The range and type of value that can be specified are the same as the
x-argument and y-argument of set_pixel (page 17-19).
Example: To get color information (0, 0, 0) of coordinates (0, 0)
from casioplot import *
set_pixel(0,0,(0,0,0))
get_pixel(0,0)
Note:
If both the
x- and y-coordinate values are within the allowable range, this
function will return the RGB value for the color argument (page 17-22).
If either the x- or y-coordinate value is outside of the allowable range, nothing is
returned.










