EasyManuals Logo

Casio fx-CG50 User Manual

Casio fx-CG50
667 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #579 background imageLoading...
Page #579 background image
17-20
set_pixel()
Description: Draws a pixel of the specified color at the specified coordinates.
Syntax: set_pixel(x, y[, color])
x• argument, y argument
Specifies the
x- and y-coordinates of the pixel to be drawn.
Only int type values within the following ranges can be specified:
0 <
x < 383, 0 < y < 191.
The figure below shows the relationship between coordinate values and
locations on the drawing screen.
(0, 0)
(383, 0)
(383, 191)
(0, 191)
color argument•
The color of the pixel to be drawn can be specified as a 256-gradation RGB
value (0, 0, 0 to 255, 255, 255). For details about this argument, see “Draw
Function color Argument” (page 17-22).
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).

Table of Contents

Other manuals for Casio fx-CG50

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Casio fx-CG50 and is the answer not in the manual?

Casio fx-CG50 Specifications

General IconGeneral
Display TypeColor LCD
ConnectivityUSB
GraphingYes
Dimensions188.5 x 89 x 18.6 mm
Weight230 g
CASNo
Storage16 MB Flash ROM
3D GraphingYes
SpreadsheetYes
Equation SolverYes
Statistical FunctionsYes
Financial FunctionsYes
Power Source4 x AAA batteries
Programming LanguagesBASIC
Memory16 MB

Related product manuals